These properties give the colors as below image:
<tr class="table-active">...</tr>
<tr class="table-primary">...</tr>
<tr class="table-secondary">...</tr>
<tr class="table-success">...</tr>
<tr class="table-danger">...</tr>
<tr class="table-warning">...</tr>
<tr class="table-info">...</tr>
<tr class="table-light">...</tr>
<tr class="table-dark">...</tr>
These properties give the colors as below image:
<tr class="bg-primary">...</tr>
<tr class="bg-success">...</tr>
<tr class="bg-warning">...</tr>
<tr class="bg-danger">...</tr>
<tr class="bg-info">...</tr>
So if you want to get the primary color as the actual primary color.You can use bg-primary
instead of table-primary
For further details, refer:
https://getbootstrap.com/docs/4.1/content/tables/
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…