JSFiddle - React, Tailwind, and code Playground
HTML
<div class="module-controls">
<ul class="tab-set">
<li class="tab js-tab lipos-1 lirpos-3 inactive"><a style="height: 100%;">Top Stories</a></li>
<li class="tab js-tab lipos-2 lirpos-2 inactive"><a>Breaking News</a></li>
<li class="tab js-tab lipos-3 lirpos-1 active"><a>Most Read</a></li>
</ul>
</div>
CSS
.module-controls { width:320px; }
.module-controls .tab-set {
display: table;
font-size: large;
list-style: none;
overflow: hidden;
margin: 0 0 0.5em;
padding: 0;
table-layout: fixed;
width: 100%;
}
.module-controls .tab-set li {
background: white;
display: table-cell;
margin: 0;
padding: 0;
text-align: center;
text-transform: uppercase;
vertical-align: middle;
}
.module-controls .tab-set li a {
background-color: #AEAC96;
border-right: 1px solid white;
border-top: 1px solid white;
color: white;
display: block;
font-size: .8em;
margin: 0 0 0.5em;
padding: 1em 0;
text-decoration: none;
text-shadow: 1px -1px 1px #99978A;
font-family: sans-serif;
}
.tabbed .module-controls .tab-set li.active a {
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#68A6BA), color-stop(100%,#28809C));
}