JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<th><div>a</div></th>
<th><div>b</div></th>
<th><div>c</div></th>
</tr>
</table>
CSS
th {
color: #FFFFFF;
border: 1px solid Gray;
}
th > div {
padding-top: 1px;
background-color: blue;
text-align: center;
margin: 0 1px;
}