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.

Revisions

  1. Soluntech revised this gist Mar 12, 2015. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions style.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    .fixed-video{
    position:fixed;
    top:0;
    left:0;
    witdth:100%;
    height:100%;
    z-index:1;
    }
  2. Soluntech created this gist Mar 12, 2015.
    4 changes: 4 additions & 0 deletions video.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    <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>