JSFiddle - React, Tailwind, and code Playground
by Bhaumik Mehta
HTML
<div id="wrapper">
<div id="container1">
<section id="SectionA"> <span id="title"><strong>Title</strong></span>
</section>
<section id="SectionB">
<div id="DivB1">
<hr />
<br />
<hr />
<br />
<hr />
<br />
</div>
<div id="DivB2"></div>
</section>
</div>
<div id="container2">
<section id="SectionC"></section>
</div>
<div id="container3">
<section id="SectionD"></section>
<section id="SectionE"></section>
</div>
</div>
CSS
#wrapper {
width: 100%;
height: 100%;
display: table;
}
#container1, #container2, #container3 {
float: left;
height: auto;
}
#container1 {
width: 47%;
}
#container1 #SectionA, #container1 #SectionB {
width: 100%;
height: 120px;
}
#container1 #SectionA {
border: 1px dashed #333;
}
#container1 #SectionB {
border: 1px solid #333;
border-top: none;
position: relative;
}
#container1 #SectionA span#title {
padding: 5px;
position: relative;
top: 5px;
font-size: 1em;
font-family: arial;
}
#container1 #SectionB #DivB1, #container1 #SectionB #DivB2 {
position: absolute;
height: 100%;
width: 50%;
}
#container1 #SectionB #DivB1 ul {
list-style: none;
}
#container1 #SectionB #DivB1 hr:first-of-type {
margin-top: 0px;
border-top: none;
}
#container1 #SectionB #DivB1 hr:nth-of-type(2) {
margin-top: 11px;
}
#container1 #SectionB #DivB1 hr:last-of-type {
margin-top: 13px;
}
#container1 #SectionB #DivB2 {
left: 50%;
border-left: 1px solid #333;
}
#container2 {
width: 25%;
margin-left: 2px;
}
#container2 #SectionC {
height: 241px;
border-top: 1px solid #333;
border-bottom: 1px solid #333;
background-color: rgb(255, 255, 0);
}
#container3 {
width: 25%;
box-shadow: inset 2px 0px 2px rgba(0, 0, 0, 1);
}
#container3 #SectionD, #container3 #SectionE {
width: 100%;
height: 120px;
-webkit-box-shadow: inset 2px 0px 4px rgba(0, 0, 0, 0.3);
-moz-box-shadow: inset 2px 0px 4px rgba(0, 0, 0, 0.3);
box-shadow: inset 2px 0px 4px rgba(0, 0, 0, 0.3);
}
#container3 #SectionD {
border: 1px dashed #333;
background-color: rgb(147, 196, 125);
}
#container3 #SectionE {
border: 1px solid #333;
border-top: none;
background-color: rgb(194, 123, 160);
}