JSFiddle - React, Tailwind, and code Playground

HTML

<div class="main">
    <div class="header">header</div>
    <div class="content">
        <div class="left">
            left<br>
            left<br>
            left<br>
            left<br>
            left<br>
        </div>
        <div class="right">right</div>
        <div class="clear"></div>
    </div>
    <div class="footer">
        footer
    </div>
    <div class="left_bg"></div>
    <div class="right_bg"></div>
</div>

CSS

html,body{
    margin:0px;
    height:100%;
}

.clear{
    clear:both;
}

.main{
    position:relative;
    min-height:100%;
}

.header{
    position:relative;
    height:50px;
    background-color: teal;
    z-index:1;
}

.content{
    position:relative;
    overflow:visible;
    padding-bottom:50px;
}

.left{
    position:relative;
    float:left;
    width:100px;
    z-index:1;
}

.right{
    position:relative;
    margin-left:100px;
    min-width:100px;
    z-index:1;
}

.left_bg{
    position:absolute;
    top:51px;
    left:0px;
    bottom:51px;
    width:100px;
    background:#990000;
    z-index:0;
}
.right_bg{
    position:absolute;
    top:51px;
    left:100px;
    bottom:51px;
    right:0px;
    background:#009900;
    z-index:0;
}

.footer{
    position:absolute;
    left:0px;
    right:0px;
    bottom:0px;
    height:50px;
       background-color: green;
    z-index:1;
}