Last active
December 11, 2015 04:48
-
-
Save xus/4547793 to your computer and use it in GitHub Desktop.
Body with background full screen
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
body { | |
background-image:url(background.jpg); | |
background-repeat: no-repeat; | |
background-size: 100%; | |
background-attachment:fixed; | |
background-position:center; | |
margin:0px; | |
} |
Another, fixing top.
body {
background-image:url(background.jpg);
background-repeat: no-repeat;
background-size: 100%;
background-position:center top;
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great!