JSFiddle - React, Tailwind, and code Playground

by jhorvath

HTML

<section class="section-control">
    <article>
        <h2>Title 1/1</h2>
        <div class="section-body">
            <p>ClsTriStateCheckBox function ClsTriStateCheckBox(parent,cNode, displayTextLength) Has following Properties, Method and Parameter ClsTriStateCheckBox function ClsTriStateCheckBox(parent,cNode, displayTextLength) Has following Properties, Method and Paramete</p>
        </div>
    </article>
        <article>
            <h2>Title 1/2</h2>
        <div class="section-body">
            <p>ClsTriStateCheckBox function ClsTriStateCheckBox(parent,cNode, displayClsTriStateCheckBox function ClsTriStateCheckBox(parent,cNode, displayTextLength) Has following Properties, Method and ParameteClsTriStateCheckBox function ClsTriStateCheckBox(parent,cNode, displayTextLength) Has following Properties, Method and ParameteTextLength) Has following Properties, Method and Parameter</p>
        </div>
    </article>
</section>
<section class="section-control">
    <article>
        <h2>Title 2/1</h2>
        <div class="section-body">
            <p>ClsTriStateCheckBox function ClsTriStateCheckBox(parent,cNode, displayTextLength) Has following Properties, Method and Parameter</p>
        </div>
    </article>
        <article>
            <h2>Title 2/2</h2>
        <div class="section-body">
            <p>ClsTriStateCheckBox function ClsTriStateCheckBox(parent,cNode, displayTextLength) Has following Properties, Method and Parameter</p>
        </div>
    </article>
</section>

CSS

* {
    font-weight: lighter;
}
p {
    font-size: 11px;
}

.section-control{   
}

.section-control > article {
    float: left;
    border: 0px solid gainsboro;
    overflow: hidden;
    width: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 15px;
}

.section-control article h2 {
    border-bottom: 1px solid gainsboro;
    margin-top: 0;
}

.section-body {
    overflow-y: auto;
    height: 150px;
}