JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper-main">
<div class="container clear-fix">
<div class="side-bar">
<div class="block1">Side block</div>
<div class="banners">Banner</div>
</div>
<div class="content">This is content</div>
</div>
</div>
<div class="footer"></div>
CSS
body,html{
margin:0;
padding:0;
height:100%;
width:100%;
}
div {
border:0px solid red;
}
.wrapper-main{
width:100%;
height: calc(100% - 101px);
background-color: purple;
}
.footer{
clear:both;
height:101px;
background: blue;
}
.container {
height:100%;
}
.content{
float:left;
width:75%;
height:100%;
background:green;
}
.side-bar{
float:right;
width:25%;
background:#d5cdcd;
height:100%;
}
.clear-fix:before,
.clear-fix:after{
display:block;
height:0;
content:'';
}
.clear-fix:after{
clear:both;
}