Last active
March 8, 2016 09:02
-
-
Save jovey-zheng/51f0c45483c5d3c438b7 to your computer and use it in GitHub Desktop.
CSS: background fixed and cover.
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
.bg-cover { | |
background: url('xxx.jpg') no-repeat; | |
background-attachment: fixed; | |
background-size: cover; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment