Created
January 4, 2017 11:41
-
-
Save Farmatique/5524d7cf40162ca7a25a88ea2bb1047d to your computer and use it in GitHub Desktop.
footer sticked to the bottom of the page
This file contains hidden or 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
| /* 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