JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<thead>
<tr>
<th></th>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>
</tr>
</thead>
<tbody id="infotable">
<tr>
<td>Row #1</td>
<td>889 kg</td>
<td class="highlight">151 kg</td>
<td>192 kg</td>
</tr>
<tr>
<td>Row #2</td>
<td>784 kg</td>
<td>15 kg</td>
<td class="highlight">64 kg</td>
</tr>
</tbody>
</table>
CSS
#infotable td
{
padding:0.7em;
border:#969696 1px solid;
}
.highlight
{
background:#DAFFD6;
}
#infotable tr:hover td,
#infotable tr:hover td.highlight
{
background:yellow;
}