Skip to content

Instantly share code, notes, and snippets.

@Farmatique
Created January 4, 2017 11:41
Show Gist options
  • Save Farmatique/5524d7cf40162ca7a25a88ea2bb1047d to your computer and use it in GitHub Desktop.
Save Farmatique/5524d7cf40162ca7a25a88ea2bb1047d to your computer and use it in GitHub Desktop.
footer sticked to the bottom of the page
/* footer on bottom of the page */
html, body{
height: 100%;
}
.wrapper{
min-height: 100%;
position: relative;
section{
&:nth-last-child(2){
padding-bottom: @footerHeight + 75px !important;
}
}
footer{
position: absolute;
bottom: 0;
width: 100%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment