Created
December 6, 2015 03:59
-
-
Save tapmodo/c7f6c692703e1258f0f8 to your computer and use it in GitHub Desktop.
2 scrollable column layout, with header and footer, using Foundation 6
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
@import '../../bower_components/foundation-sites/scss/foundation'; | |
@include foundation-everything; | |
.container { | |
@include grid-row(16) { | |
.sidebar { @include grid-column(5); } | |
.main-content { @include grid-column(11); } | |
} | |
} | |
html, body, #wrapper { | |
height: 100%; | |
} | |
body > #wrapper { | |
height: auto; | |
min-height: 100%; | |
} | |
#main .container { | |
overflow: hidden; | |
top: 54px; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
padding-bottom: 45px; | |
position: absolute; | |
} | |
#footer { | |
position: relative; | |
margin-top: -44px; | |
height: 44px; | |
clear: both; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment