biobulkbende.org/app/assets/scss/modules/_video-container.scss
2020-10-15 22:35:24 +02:00

33 lines
444 B
SCSS

.video-container {
position:relative;
padding-bottom:63.15%;
height:0;
overflow:hidden;
box-shadow: -3px 3px 10px #000000ba;
margin-right: -18px;
margin-left: -18px;
@include atSmall{
padding-bottom:60%;
}
@include atMedium{
padding-bottom:59%;
}
@include atLarge{
padding-bottom:56.25%;
margin-right: 0px;
margin-left: 0px;
}
}
.video-container video{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}