Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
.iframe-container {
overflow: hidden;
padding-top: 56.25%;
position: relative;
.iframe-container iframe {
border: 0;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment