使用 Susy Grids,如何强制容器最小高度为 100%,页脚位于页面底部。
html
<div class="page">
<header id="header-container">header</header>
<section ="main-container">
some short content
</section>
<footer id="footer-container">footer</footer>
</div>
css/scss
$total-columns : 16;
$column-width : 4.5%;
$gutter-width : 1%;
$grid-padding : 6.5%;
$legacy-support-for-ie6 : false;
.page { @include container;}
#main-container{@include span-columns($total-columns omega);}
#footer-container{
@include clearfix;
@include reset-columns;
min-height:100px;}