Skip to content

Instantly share code, notes, and snippets.

@Lysindr
Created February 8, 2019 14:34
Show Gist options
  • Save Lysindr/07ca84608ac43769d56c239f31bfbfdd to your computer and use it in GitHub Desktop.
Save Lysindr/07ca84608ac43769d56c239f31bfbfdd to your computer and use it in GitHub Desktop.
.video-html {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: 0;
transform: translateX(-50%) translateY(-50%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment