Last active
October 31, 2016 06:58
-
-
Save wookiehangover/7548809 to your computer and use it in GitHub Desktop.
Pusher
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
<body> | |
<div class="wrapper"> | |
All non-footer content goes here. | |
<div class="pusher"></div> | |
</div> | |
<footer class="primary-footer"> | |
Footer Content | |
</footer> | |
</body> |
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
// | |
// Pusher Man | |
// | |
@footerHeight: 89px; | |
html,body { | |
height: 100%; | |
} | |
.wrapper { | |
min-height: 100%; | |
height: auto !important; | |
margin-bottom: -@footerHeight; | |
} | |
.pusher { | |
height: @footerHeight; | |
} | |
.primary-footer { | |
width: 100%; | |
height: @footerHeight; | |
box-sizing: border-box; | |
padding: 10px 20px; | |
position: relative; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment