Here is how my table looks. I attempted to apply striping with the following CSS:
tr:nth-child(even) {
background-color:#AD0D10;
}
<table>
<tr>
<th >xxx</th>
<th >xxxxx</th>
<th>xxxxxxx</th>
<th>xxxxxx</th>
<th>xxxxxxx</th>
<th>xxxxxxx</th>
<th>xxxxx</th>
<th>xxxxxxxx</th>
<th>xxxxxxx</th>
<th>xxxxxxxxxx</th>
<th>xxxxxxxxxxxxxx</th>
</tr>
<tr>
<td rowspan="2">1</td>
<td>88888888</td>
<td>8888888</td>
<td>8888888</td>
<td>8888888</td>
<td>888888888</td>
<td>8888888</td>
<td>88888888</td>
<td>8888888</td>
<td>8888888</td>
</tr>
<tr>
<td>88888</td>
<td colspan="3">888888</td>
<td>8888</td>
<td colspan="4">8888888</td>
</tr>
<tr>
<td rowspan="2">2</td>
<td>88888888</td>
<td>8888888</td>
<td>8888888</td>
<td>8888888</td>
<td>888888888</td>
<td>8888888</td>
<td>88888888</td>
<td>8888888</td>
<td>8888888</td>
</tr>
<tr>
<td>88888</td>
<td colspan="3">888888</td>
<td>8888</td>
<td colspan="4">8888888</td>
</tr>
</table>
Except for the header, each row in the table consists of two td elements. If I consider these rows as main rows, I want them to be striped together. Currently, using tr:nth-child(even)> tr doesn't produce the desired result.