JSFiddle - React, Tailwind, and code Playground
HTML
<div id="container">
<div id="tableWrapper">
<div id="tableRowWrapper">
<div id="nav">
Navigation
</div>
<div id="main">
<div id="details">
Details
</div>
</div>
</div>
</div>
</div>
CSS
#header{
position: fixed;
top: 0px;
height: 30px;
}
#footer{
position: fixed;
bottom: 0px;
height: 30px;
}
#container{
position:fixed;
top:30px;
bottom:30px;
left:0;
right:0;
overflow:hidden;
z-index:-1;
background-color: #dddddd;
}
#tableWrapper
{
display: table;
width: 100%;
height: 100%;
}
#tableRowWrapper
{
display: table-row;
}
#nav
{
display: table-cell;
background-color: #ccffff;
resize: horizontal;
overflow: auto;
width: 100px;
}
#main
{
display: table-cell;
background-color: #ffffcc;
}
#details
{
background-color: #faccfa;
resize: vertical;
overflow: auto;
height: 100%;
}
#editor
{
background-color: #fddfaf;
height: 100%;
overflow-y: auto;
}
.paragraph
{
min-height: 150px;
}