music: small wip

This commit is contained in:
Agahnim 2026-04-14 15:17:12 +02:00
parent 8193bc2275
commit 17e4d93a97
Signed by: Agahnim
SSH key fingerprint: SHA256:Zj65PJnE0dRYye8Ltk/qDglynyXUxJngQ9qqx/VI+b4
2 changed files with 33 additions and 1 deletions

View file

@ -621,6 +621,28 @@ home-content {
}
}
/* Music */
music {
video-bg {
position: fixed;
top: 0;
left: 0;
height: 100lvh;
width: 100lvw;
z-index: -1;
video {
height: 100lvh;
width: 100lvw;
object-fit: cover;
}
}
box {
background-color: white;
}
}
/* 404 */
katcenkat {
display: flex;

View file

@ -1 +1,11 @@
<hello>hello</hello>
<music>
<video-bg>
<video autoplay muted loop playsinline>
<source src="/static/assets/videos/music.webm" type="video/mp4" />
</video>
</video-bg>
<box>
<p>Salut</p>
</box>
</music>