JSFiddle - React, Tailwind, and code Playground
HTML
<div id="wrap">
<div id="header"> HEADER </div>
<div id="body">
<div id="sidebar"> SIDEBAR </div>
<div id="main"> MAIN CONTENT </div>
</div>
</div>
CSS
#wrap { width:500px; margin:0 auto; border:3px solid red; }
#header { background-color:yellow; font-size:50px; text-align:center; }
#body { overflow:auto; }
#sidebar { float:left; width:150px; background-color:#ccc; min-height:400px; }