JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
</head>
<body>
<div id="wrapper">
<div id="header">
header
</div>
<div id="container">
<div id="sidebar">
sidebar
</div>
<div id="content">
<div id="panel">panel</div>
module content
</div>
</div>
</div>
</body>
CSS
/** main **/
html {
height: 100%;
}
body {
background: #f7fcff;
height: 100%;
}
#wrapper {
height: 100%;
margin: 0 auto -40px
}
#header {
background: pink;
height: 45px;
overflow: hidden;
}
#container {
overflow: hidden;
height: 100%;
}
#sidebar {
float: left;
width: 229px;
background: red;
height: 100%;
}
#content {
margin-left: 230px;
background: blue;
height: 100%;
}
#panel {
background: yellow;
height: 39px;
}