body { margin: 0px; background-color:#000; overflow: hidden; } #container { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; } #background{ position: fixed; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; padding: 0; margin: 0; z-index: -100; } #video-bg{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; } /* removes tap blinking on ios devices */ * { -webkit-tap-highlight-color:rgba(0,0,0,0); }