You are here

background_video.css in Background Video 8

Same filename and directory in other branches
  1. 7 css/background_video.css
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: auto;
  z-index: 0;
  background-size: cover;
}
.video-background video {
  min-height: auto;
  min-width: 100%;
}

File

css/background_video.css
View source
  1. .video-background {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. overflow: hidden;
  6. width: 100%;
  7. height: auto;
  8. z-index: 0;
  9. background-size: cover;
  10. }
  11. .video-background video {
  12. min-height: auto;
  13. min-width: 100%;
  14. }