JSFiddle - React, Tailwind, and code Playground
HTML
<div class="header с1">
1
</div>
<div class="menu с2">
2
</div>
<div class="info с4">
4
</div>
<div class="content с3">
3
</div>
<div class="footer с5">
5
</div>
CSS
html,
body {
margin: 0;
padding: 0;
}
.header {
width: 100%;
height: 150px;
}
.menu {
position: absolute;
width: 20%;
min-height: 300px;
left: 0;
}
.info {
position: absolute;
width: 20%;
min-height: 300px;
right: 0;
}
.content {
min-height: 400px;
}
.footer {
width: 100%;
height: 100px;
}
.с1 {
background-color: #e8e4fb;
}
.с2 {
background-color: #e6bae4;
}
.с3 {
background-color: #e081c3;
width: 60%;
margin: 0 auto;
}
.с4 {
background-color: #ba2461;
}
.с5 {
background-color: #700208;
}