JSFiddle - React, Tailwind, and code Playground

by adrianlynch

HTML

<div class="table">
<div class="row three">
    <div class="column two">
        <div id="TopSlidePane" runat="server">a</div>
        <div class="column one">c</div>
        <div class="column one">d</div>
        <div class="column one">
            <div class="column three">e</div>
            <div class="column three">f</div>
        </div>
    </div>
    <div class="column one">
        b
    </div>
</div>
</div>

CSS

*, *:before, *:after {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

div {
    position: relative;
    height: 100%;
}

.row {
    border: 1px solid green;
    padding: 5px;
    display: table-row;
}

.column {
    border: 1px solid red;
    padding: 5px;
    height: 50%;
    display: table-cell;
    vertical-align: middle;
}

.table {
    display: table;
}

.one {
    width: 33.4%;
    background-color: #ccc;
}

.two {
    width: 66.7%;
    background-color: #bbb;
}

.three {
    width: 100%;
}

#TopSlidePane {
    padding: 5px;
    background-color: #000;
    color: #fff;
}