JSFiddle - React, Tailwind, and code Playground
by crucify
HTML
<table>
<tbody>
<tr>
<td class="B">111</td>
<td class="A">aaa</td>
<td class="A">bbb</td>
<td class="B">111</td>
<td class="B">2222</td>
<td class="B">3333</td>
<td class="B">4444</td>
<td class="A">ccc</td>
<td class="A">ddd</td>
</tr>
</tbody>
</table>
CSS
.B:first-child {
color:red;
}
:not(.B)+.B {
color:red;
}