JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<td>a</td> <!-- starting from here -->
<td>b</td>
<td>c</td>
<td>d</td>
<td>e</td>
<td>f</td> <!-- selects this one -->
<td>g</td>
</tr>
</table>
CSS
table td+td+td+td+td+td{
background-color: red;
}