JSFiddle - React, Tailwind, and code Playground

HTML

<table>
	<tbody>
		<tr class="alt">
			<td>Row 1 Cell 1</td>
			<td class="someclass">Row 1 Cell 2</td>
			<td>Row 1 Cell 3</td>
		</tr>
		<tr>
			<td>Row 2 Cell 1</td>
			<td>Row 2 Cell 2</td>
			<td>Row 2 Cell 3</td>
		</tr>
		<tr>
			<td>Row 3 Cell 1</td>
			<td>Row 3 Cell 2</td>
			<td>Row 3 Cell 3</td>
		</tr>
	</tbody>
</table>

CSS

/*tr.alt td:not([class="someclass"]) {
    background-color:red;
}*/



/*table:not(td:not( [class$="someclass"]) {
  background: red;
}*/

td:not( [class$="someclass"]{
  background: red;
}