Skip to content

Instantly share code, notes, and snippets.

@meub meub/gist:5818904

Created Jun 19, 2013
Embed
What would you like to do?
Sticky Footer CSS
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
You can’t perform that action at this time.