Last active
August 29, 2015 14:05
-
-
Save probil/80b67ec59ebf8acaa7f3 to your computer and use it in GitHub Desktop.
Simple code to position your background to true bottom of page (without it browser place your background to bottom of 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
html { | |
min-height: 100%; | |
height: auto; | |
} | |
body{ | |
background: url("../img/bg-top.png"), url("../img/bg-middle.png"), url("../img/bg-bottom.png"); | |
background-repeat: no-repeat,no-repeat, no-repeat; | |
background-position: top center, center center, bottom center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment