.iframe-container { position: relative; overflow: hidden; padding-top: 56.25%; } .responsive { width: 100%; height: auto; }