mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-14 08:05:10 +01:00
23 lines
384 B
CSS
23 lines
384 B
CSS
.videoPlaceholder {
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
.videoPlaceholder::before {
|
|
content: '';
|
|
display: block;
|
|
width: 100%;
|
|
padding-bottom: 56.25%;
|
|
}
|
|
.videoPlaceholderBox {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
position: absolute;
|
|
background: var(--choice);
|
|
border-radius: 6px;
|
|
color: var(--text);
|
|
} |