Make bg a div
This commit is contained in:
parent
1cc2eb19a9
commit
61c9b09669
2 changed files with 7 additions and 7 deletions
|
@ -15,14 +15,14 @@ body {
|
||||||
|
|
||||||
.bg {
|
.bg {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
object-fit: cover;
|
height: 100%;
|
||||||
object-position: center;
|
|
||||||
heigh: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
z-index: -100;
|
z-index: -1;
|
||||||
|
|
||||||
content: var(--background);
|
background: var(--background);
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.silhouette {
|
.silhouette {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img class="bg"/>
|
<div class="bg"/>
|
||||||
<div class="silhouette hideable hidden"></div>
|
<div class="silhouette hideable hidden"></div>
|
||||||
|
|
||||||
<div id="clock-box" class="top-middle center-text top-bleed-extra">
|
<div id="clock-box" class="top-middle center-text top-bleed-extra">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue