JSFiddle - React, Tailwind, and code Playground

by wdm954

HTML

<div class="a group">
    <ul class="b">
        <li>One</li>
        <li>Two</li>
        <li>Three</li>
    </ul>
</div>

CSS

.a {
    background-color: #ccc;
}
.b li {
    float: left;
}

.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}