I have a .table-striped table and I want to highligth some rows in it. For that I'm using .table-active class. But it works only in 50% of cases - only when 'white stripe' is hightlighted.
How can I highlight rows without custom css ?
<table class="table table-striped table-rounded table-sm">
<tbody>
<tr>
<td>This is not 'active'</td>
</tr>
<tr class="table-active">
<td>This is 'active' because it is white stripe originally</td>
</tr>
<tr class="table-active">
<td>This should be 'active', but it is not! It have stripped color</td>
</tr>
<tr>
<td>This is not 'active'</td>
</tr>
</tbody>
</table>
Bootstrap version 5.1.3