Skip to content

Instantly share code, notes, and snippets.

@ademilter
Created January 24, 2014 00:09
Show Gist options
  • Save ademilter/8589520 to your computer and use it in GitHub Desktop.
Save ademilter/8589520 to your computer and use it in GitHub Desktop.
background-video-embed-withh-css
.Cover__video-source {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
transform: translateX(-50%) translateY(-50%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment