rf-web/_sass/includes/embed-container.scss
2021-01-30 15:31:30 +01:00

18 lines
305 B
SCSS

.embed-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
margin-bottom: var(--size-16);
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}