JSFiddle - React, Tailwind, and code Playground
HTML
<h3>
Blah
</h3>
<footer>
<div class='left-side'><img src="http://placehold.it/64x64"><p>Orders</p></div>
<div class="right-side">
<div class='top-half'>
<p class='absolute-center'>Time left to order</p>
</div>
<div class='bottom-half'>
<p class='absolute-center'>Add Produce</p>
</div>
</div>
<div class='left-side'><img src="http://placehold.it/64x64"><p>Sales</p>
</div>
<div id='test' class="right-side">
<div class='top-half'>
<p class='absolute-center'>Receipt</p>
</div>
<div class='bottom-half'>
<p class='absolute-center'>Settings</p>
</div>
</div>
</footer>
CSS
@import url(http://fonts.googleapis.com/css?family=Merriweather+Sans:400,300);
.left-side {
float: left;
background-color: #2B2B2B;
width: 50%;
height: 50%;
}
.right-side {
float: right;
background-color: #2B2B2B;
width: 50%;
height: 50%;
}
#test{
background-color: #232528;
}
.set-height {
position: absolute;
width: 100%;
height: 50%;
}
html {
position: relative;
min-height: 100%;
}
body {
margin: 0 0 40px;
/* bottom = footer height */
}
footer {
position: absolute;
left: 0;
bottom: 0px;
height: 60%;
width: 100%;
overflow:hidden;
}
p {
color: #ffffff;
text-align: center;
font-family: 'Merriweather Sans', sans-serif;
}
.top-half {
width: 100%;
height: 50%;
}
.bottom-half {
width: 100%;
height: 50%;
}
.absolute-center {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}
#formatImg{
}