Advertisement
loquilo

Untitled

Jan 26th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <div class="video">
  2. <!-- poster="" -->
  3. <video autoplay muted loop>
  4. <source src="https://tekeye.uk/html/images/Joren_Falls_Izu_Japan.mp4" type="video/webm">
  5. </video>
  6. </div>
  7.  
  8. .video {
  9. background: #000000;
  10. position: absolute;
  11. z-index: -1;
  12. left: 0;
  13. right: 0;
  14. top: 0;
  15. bottom: 0;
  16. }
  17.  
  18. .video video {
  19. position: absolute;
  20. z-index: -1;
  21. width:100%;
  22. height:100%;
  23. object-fit: cover;
  24. opacity:0.7;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement