JSFiddle - React, Tailwind, and code Playground

HTML

<table class="table1">          
<tr>
   <th>Name</th>
   <th>Surname</th>
   <th>Email</th>
</tr>                
<tr>
    <td>Mathew</td>
    <td>Thompson</td>
    <td>1</td>
</tr>
<tr>
    <td>Hayley</td>
    <td>P</td>
    <td>2</td>
</tr>
<tr>
    <td>Susie</td>
    <td>J</td>
    <td>3</td>
</tr>
<tr>
    <td>Sandra</td>
    <td>L</td>
    <td>4</td>
</tr>
<tr>
    <td>Terry</td>
    <td>T</td>
    <td>5</td>
</tr>
    <tr>
    <td>Jerry</td>
    <td>F</td>
    <td>6</td>
</tr>
</table>

CSS

tr:not(:nth-child(1)):nth-child(odd)
{
    background-color: blue;
}
tr:nth-child(even)
{
    background-color: red;
}