.iframe-ratio {
width: 100%;
height: 0;
position: relative; }

.iframe-ratio iframe {
width: 100%;
height: 100%;
position: absolute; }