Make bg a div

This commit is contained in:
Jakub Nowak 2025-02-09 17:14:00 +08:00
parent 1cc2eb19a9
commit 61c9b09669
2 changed files with 7 additions and 7 deletions

View file

@ -15,14 +15,14 @@ body {
.bg {
position: absolute;
object-fit: cover;
object-position: center;
heigh: 100%;
height: 100%;
width: 100%;
z-index: -100;
z-index: -1;
content: var(--background);
background: var(--background);
background-size: cover;
background-position: center;
}
.silhouette {

View file

@ -11,7 +11,7 @@
</head>
<body>
<img class="bg"/>
<div class="bg"/>
<div class="silhouette hideable hidden"></div>
<div id="clock-box" class="top-middle center-text top-bleed-extra">