JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div class="wrapper">
<div class="span6">
<div class="box">Box1<br>Box1<br>Box1<br>Box1<br>Box1<br></div>
<div class="box2">Box2</div>
</div>
<div class="span6">
<div class="box3">Box3</div>
<div class="box4">Box4</div>
</div>
<div class="push"></div>
</div>
<div class="footer">
<p>Copyright (c) 2008</p>
</div>
</body>
CSS
* {
margin: 0;
}
html, body {
height: 100%;
}
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -4em;
}
footer {
background-color: rgb(47, 67, 84);
color:#FFF;
height:100%;
}
footer, .push {
height: 4em;
}
.span6 {
float:left;
height:100%;
}
.box2 {
border:1px solid;
clear:both;
height:100%;
}
.box4 {
border:1px solid;
clear:both;
height:100%;
}