publikator-boombox/_sass/_videos.scss

33 lines
431 B
SCSS
Raw Permalink Normal View History

2020-10-21 17:04:07 +02:00
/* Background Video */
.fullscreen-bg {
position: absolute;
height: 100%;
width: 100%;
overflow: hidden;
z-index: 0;
background: var(--bg);
top: 0;
left: 0;
right: 0;
z-index: 0;
}
.fullscreen-bg__video {
object-fit: cover;
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
}
#myVideo {
position: absolute;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
}