JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html dir="ltr" lang="hu">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<link rel="stylesheet" href="default.css" type="text/css" />
</head>
<body>
<div class="teto"></div>
<div class="warper">
<div class="bal"></div>
<div class="jobb"></div>
<div class="kozep">
<div class="fent">dd</div>
<div class="lent"></div>
</div>
</div>
</body>
</html>
CSS
*{
padding:5px;
}
.teto{
width:100%;
height:30px;
background:blue;
}
.warper{
width:100%;
height:100%;
}
.bal{
width:100px;
height:100vh;
float:left;
background:purple;
}
.kozep{
float:none;
display: inherit;
overflow: hidden;
}
.jobb{
width:100px;
height:100vh;
float:right;
background:green;
}
.lent{
height:300px;
background:red;
}
.fent{
height:50vh;
background:cyan;
}