Created
October 6, 2017 11:49
-
-
Save dobrienSTJ/3ff2a2f032ed79ccabc99606a6f01f1f to your computer and use it in GitHub Desktop.
Video HTML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
video#vid { | |
position: fixed; right: 0; bottom: 0; | |
min-width: 100%; min-height: 100%; | |
width: auto; height: auto; z-index: -100; | |
background-size: cover; | |
margin: 0 auto; | |
} | |
<video autoplay loop id="vid"> | |
<source src="https://www.tesla.com/ns_videos/Model3_WebsiteHero_Master_D.mp4?20170801" type="video/mp4"> | |
</video> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@toddmilne13