JSFiddle - React, Tailwind, and code Playground
HTML
<div class="myclass1">
<table>
<tr>
<th>Head1</th>
<th>Head2</th>
</tr>
<tr>
<td>W00t!</td>
<td>Yep!</td>
</tr>
</table>
</div>
CSS
.myclass1 {
max-width: 960px;
width: 80%;
border: 1px solid #CCC;
}
table {
width: 100%;
}