JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container center">
<div class="thing">
<table class="tabel center" style="width:230px">
<tr>
<td>Example</td>
</tr>
</table>
</div>
<div class="thing">
<table class="tabel center" style="width:230px">
<tr>
<td>Example</td>
</tr>
</table>
</div>
</div>
CSS
.container {
width: 100%;
overflow: hidden;
float: left;
border: 1px solid red;
text-align: center;
}
.tabel {
border: 1px solid black;
border-collapse: collapse;
padding: 5px;
}
.thing {
width: 50%;
float: left;
min-width: 230px;
}
.center {
margin: 0 auto;
}
@media all and (max-width: 480px) {
.thing {
width: 100%;
}
}