Fluid video wrapper for docs <iframe> embeds

This commit is contained in:
kitajchuk committed 2021-05-16 11:53:38 -07:00
1 parent 2d3b9fcad1
commit ea77ea4e14
5 files changed
+28 -4

No files matched your search

+16
View File
@@ -77,4 +77,20 @@
margin-right: auto;
}
}
}
/******************************************************************************
* Fluid video embeds
*******************************************************************************/
.video-wrap {
position: relative;
padding-bottom: 56.25%;
iframe {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
}