JSFiddle - React, Tailwind, and code Playground
by alois de gouvello
HTML
<div id="mainWrapper">
<div id="wrapper">
<section>
ContentContentContent
</section>
<div id="pageFooter">
FooterFooterFooter
</div>
</div>
</div>
CSS
html, body {
height: 100%;
}
body {
margin:0px;
padding:0px;
height: 100%;
}
#mainWrapper {
width:980px;
margin:0 auto;
box-shadow:0 0 10px #999;
height: 100%;
}
#wrapper {
width:960px;
margin:0px auto 0px auto;
padding:0px 0px 10px 0px;
background:#fff;
height: 100%;
}
section {
min-height: 100%;
}
#pageFooter {
position:fixed;
left:0px;
bottom:0px;
height:30px;
width:100%;
background:#999;
}