JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://mbideasproject.googlecode.com/svn/trunk/jquery.mb.flipText/inc/jquery.mb.flipText.js"></script>
<div class="ctResult">
<div class="ctRow">
<div class="ctTool">MNU</div>
<div class="ctColQ">Text B</div>
<div class="ctHSep"></div>
<div class="ctColQ">Text D</div>
</div>
<div class="ctRow">
<div class="ctRowQ">Text A</div>
<div class="ctGrid">
The GRID AB goes here
</div>
<div class="ctHSep"></div>
<div class="ctGrid">
The GRID AD goes here
</div>
</div>
<div class="ctVSep"></div>
<div class="ctRow">
<div class="ctRowQ">Text C</div>
<div class="ctGrid">
The GRID CB goes here
</div>
<div class="ctHSep"></div>
<div class="ctGrid">
The GRID CD goes here
</div>
</div>
</div>
CSS
div
{
font-size: 16px;
font-family: Verdana;
}
div.ctTool
{
background-color: green;
color: white;
}
div.ctHSep
{
background-color: yellow;
width: 5px;
}
div.ctVSep
{
background-color: yellow;
display:table-row;
height: 5px;
}
div.ctResult
{
background-color:#ccc;
display:table;
}
div.ctRow
{
display:table-row;
}
div.ctTool
{
display:table-cell;
}
div.ctRowQ
{
background-color: Coral;
display:table-cell;
margin-left: auto;
margin-right: auto;
padding: 20px 0px 0px 10px;
}
div.ctColQ
{
background-color: Coral;
display:table-cell;
margin-left: auto;
margin-right: auto;
padding-left: 10px;
}
div.ctGrid
{
background-color: Blue;
color: White;
display:table-cell;
vertical-align:top;
margin: 0px;
}
JavaScript
$(".ctRowQ").mbFlipText(true);