Skip to content

Instantly share code, notes, and snippets.

@SOLUNTECH
Last active August 29, 2015 14:16
Show Gist options
  • Save SOLUNTECH/2e2c106830b07cec892d to your computer and use it in GitHub Desktop.
Save SOLUNTECH/2e2c106830b07cec892d to your computer and use it in GitHub Desktop.
.fixed-video{
position:fixed;
top:0;
left:0;
witdth:100%;
height:100%;
z-index:1;
}
<video class="fixed-video" autoplay loop>
<source src="https://s3.amazonaws.com/soluntech/videos/background.webm" type="video/webm">
<source src"https://s3.amazonaws.com/soluntech/videos/background.mp4" type="video/mp4">
</video>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment