JSFiddle - React, Tailwind, and code Playground

by mvivekc

HTML

<div class='w clearfix'>
    <div>
        Title
    </div>
    <ul>
        <li>Item1</li>
        <li>Item1</li>
        <li>Item1</li>
        <li>Item1</li>        
    </ul>
</div>

CSS

.w {
    margin : 10px;
    border-bottom : 1px solid #ccc;
}


.w div {
    font: 1.385em Trebuchet,Trebuchet MS;
    height: 26px;
    padding-right: 48px;
    float : left;
}

.w ul {
    float : right;
    white-space: nowrap;
}
.w ul, .w li {
    list-style : none;
    margin: 0;
    padding: 0;
}
.w ul li {
    display: inline-block;
    margin-right: 6px;
    line-height:30px;
    width:60px;
    helight:30px;
    text-align:center;
    vertical-align: bottom;
    border-width : 1px 1px 0 1px;
    border-style : solid;
    border-color : #ccc;
    background : #efefef;
    color: #333333;
    font-family: Arial,Helvetica,sans-serif;
    font-size: small;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
 
.clearfix {
    display: inline-block;
}
 
html[xmlns] .clearfix {
    display: block;
}
 
* html .clearfix {
    height: 1%;
}