mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
30 lines
510 B
CSS
30 lines
510 B
CSS
background-video-player {
|
|
display: contents;
|
|
}
|
|
|
|
background-video-skin {
|
|
--media-object-fit: cover;
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
min-width: 300px;
|
|
height: 100%;
|
|
min-height: 150px;
|
|
object-fit: var(--media-object-fit);
|
|
}
|
|
|
|
background-video-skin > background-video {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: inherit;
|
|
}
|
|
|
|
background-video-skin > img,
|
|
background-video-skin > picture {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: inherit;
|
|
}
|