Skip to content

Instantly share code, notes, and snippets.

@amirsuhail786
Created January 23, 2017 06:32
Show Gist options
  • Save amirsuhail786/2aca6b758c6e8a9fcc9c7d688dcbe340 to your computer and use it in GitHub Desktop.
Save amirsuhail786/2aca6b758c6e8a9fcc9c7d688dcbe340 to your computer and use it in GitHub Desktop.
.iframeWrapper {
position: relative;
padding-bottom: 56.25%;
padding-top: 0px;
height: 0;
}
.iframeWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment