Created
June 19, 2013 23:03
-
-
Save meub/5818904 to your computer and use it in GitHub Desktop.
Sticky Footer CSS
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 { | |
position: relative; | |
min-height: 100%; | |
} | |
body { | |
margin: 0 0 100px; /* bottom = footer height */ | |
} | |
.footer { | |
position: absolute; | |
left: 0; | |
bottom: 0; | |
height: 100px; | |
width: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment