Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<style>
div[class^='groovevideo-widget-inner'] {
position: relative;
padding-top: 56.25%; /* Change to 100% for square video, or (height/width) x 100 */
}
iframe.iframeClasses {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment