JSFiddle - React, Tailwind, and code Playground
by Daniel Tan
HTML
<div style="border: 2px solid blue; height: 20px; margin-bottom: 5px">
</div>
<div style="border: 2px solid black; height: 20px; margin-bottom: 5px">
</div>
<div class="container page-vmenu-wrapper">
<div id="vertical-menu">
</div>
<div id="content-container">
<p>Test test tesT</p>
<p>Test test tesT</p>
<p>Test test tesT</p>
</div>
<p>Test test tesT</p>
<p>Test test tesT</p>
<p>Test test tesT</p>
</div>
CSS
html {
width: 100%;
height: 100%;
}
body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
}
.container {
width: 500px;
padding-left: 0px;
padding-right: 0px;
margin-right: 0;
margin-left: 0;
}
.page-vmenu-wrapper {
border: 1px solid grey;
height: 300px;
width: 300px;
}
#vertical-menu {
width: 150px;
min-height: 400px;
border: 3px solid red;
float: left;
}
#content-container {
border: 3px solid green;
min-height: 100px;
width: 500px;
margin-left: 150px;
position: absolute;
overflow: visible;
}