JSFiddle - React, Tailwind, and code Playground
by Victor
HTML
<div class="leftFrame">
<ul>
<li><a href="#">link</a></li>
<li><a href="#">link</a></li>
<li><a href="#">link</a></li> <li><a href="#">link</a></li>
<li><a href="#">link</a></li>
<li><a href="#">link</a></li>
<li><a href="#">link</a></li>
</ul>
</div>
<div class="mainFrame">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptate tempore veritatis explicabo praesentium cumque recusandae impedit non dicta quaerat id adipisci incidunt obcaecati perspiciatis inventore ab alias nihil aspernatur consequatur?
</div>
CSS
/* apply a natural box layout model to all elements */
*, *:before, *:after {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
body {
background: #333;
}
.leftFrame {
width:31%;
margin:0;
height:98%;
background: #444;
box-shadow:1px 1px 0 #444, -1px -1px 0 #222, inset 0 0 10px #333, 0 0 10px #555;
float:left;
position:absolute;
top:1%;
left:1%;
background: rgb(119,119,119); /* Old browsers */
background: -moz-linear-gradient(top, rgba(119,119,119,1) 0%, rgba(68,68,68,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(119,119,119,1)), color-stop(100%,rgba(68,68,68,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(119,119,119,1) 0%,rgba(68,68,68,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(119,119,119,1) 0%,rgba(68,68,68,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(119,119,119,1) 0%,rgba(68,68,68,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(119,119,119,1) 0%,rgba(68,68,68,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#777777', endColorstr='#444444',GradientType=0 ); /* IE6-9 */
}
.mainFrame {
border:1px solid #333;
color:white;
width:65%;
margin:0%;
height:98%;
background: red;
background: #444;
box-shadow:1px 1px 0 #444, -1px -1px 3px #222, inset 0 0 10px #333, 0 0 10px #555;
float:left;
padding:10px;
position:absolute;
top:1%;
right:1%;
background: rgb(119,119,119); /* Old browsers */
background: -moz-linear-gradient(top, rgba(119,119,119,1) 0%, rgba(68,68,68,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(119,119,119,1)), color-stop(100%,rgba(68,68,68,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(119,119,119,1) 0%,rgba(68,68,68,1)...