Skip to content

Instantly share code, notes, and snippets.

@mir4a
Created April 9, 2013 11:01
Show Gist options
  • Save mir4a/5344842 to your computer and use it in GitHub Desktop.
Save mir4a/5344842 to your computer and use it in GitHub Desktop.
Simple sticky footer with less
@footer_height: 100px;
body, html {
height: 100%;
}
.i-sticky {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -(@footer_height);
}
.footer, .i-push {
height: @footer_height;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment