Created
February 16, 2016 16:53
-
-
Save LadyCarni/2ae1801ad4dd66ab4b1c to your computer and use it in GitHub Desktop.
Traditional fixed background image
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
html,body { | |
height: 100%; | |
} | |
.hero { | |
background-size: cover; | |
background: url('http://bit.ly/1KnDNGG') no-repeat center center fixed; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
-webkit-background-size: cover; | |
min-height: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment