JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<td>1</td>
<td>1</td>
<td>1</td><td>1</td>
</tr>
</table>
CSS
table{
outline: 10px solid yellow;
position: relative;
}
table::after{
content: '';
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border: 10px solid red;
}