JSFiddle - React, Tailwind, and code Playground
HTML
<table class="montableau">
<tr>
<td>cellule 1.1</td><td>cellule 1.2</td>
</tr>
<tr>
<td>cellule 2.1</td><td>cellule 2.2</td>
</tr>
<tr>
<td>cellule 3.1</td><td>cellule 3.2</td>
</tr>
<tr>
<td>cellule 4.1</td><td>cellule 4.2</td>
</tr>
<tr>
<td>cellule 5.1</td><td>cellule 5.2</td>
</tr>
</table>
CSS
.montableau tr:nth-child(odd) {
color: blue;
}
.montableau tr:nth-child(even) {
color: red;
}