JSFiddle - React, Tailwind, and code Playground

by Timmy Willison

HTML

This table should have just one column:

<table style="width: 100%;">
    <tr>
        <td>x</td>
    </tr>
    <tr>
        <td>x</td>
    </tr>
</table>

CSS

td {
    background-color: lightgray;
}

JavaScript

$("td:last").hide();
$("td:last").width();
$("td:last").css('display', 'block')