JSFiddle - React, Tailwind, and code Playground
HTML
<div class="head"><p>logo</p></div>
<div class="conteiner">
<div class="content"><p>text</p></div>
<div class="footer"><p>copyright</p></div>
</div>
CSS
html {
position: relative;
}
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
.head {
width: 100%;
height: 250px;
margin: 0;
padding: 0;
position: absolute;
top: 0;
left: 0;
z-index: 1;
background-color: #FFFFFF;
}
.conteiner {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
margin: 0;
padding: 0;
z-index: 0;
background-color: #99ccff;
}
.content {
width: 100%;
margin-top: 250px;
}
.footer {
width: 100%;
height: 100px;
background-color: #336699;
border-top: 1px solid #336699;
position: absolute;
bottom: 0;
left: 0;
}