JSFiddle - React, Tailwind, and code Playground
HTML
<div class="table">
<span class="cell-1">1</span>
<span class="cell-2">2</span>
</div>
CSS
.table {
display: table;
width: 100%;
}
.cell-1, .cell-2 {
display: table-cell;
padding: 6px 12px;
border: 1px solid #ccc;
}
.cell-1 {
padding: 6px 12px;
background-color: #eee;
border-right: 0;
border-radius: 4px 0 0 4px;
width: 10%;
}
.cell-2 {
border-radius: 0 4px 4px 0;
}