Salve a tutti.
ho una tabella con lo sfondo alternato.
Vorrei eliminare lo sfondo all'ultima riga e lasciare solo il bordo.
Non riesco.
Qualcuno può aiutarmi?
image001.png
image002.png
codice:
.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
background: rgb(255, 253, 219);
}
<table class="table table-sm table-striped">
<thead>
<tr>
<th>
AAAAAAAAAAAAAAA
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
xxxxxxxxxxxxxx
</td>
</tr>
<tr>
<td>
yyyyyyyyyyyyyy
</td>
</tr>
<tr style="background-color: white;">
<td> </td>
</tr>
</tbody>
</table>