Here're my selectors:
table.table.table-striped.vitalStatisticsTable th,
table.table.table-striped.vitalStatisticsTable td {
line-height: 1;
padding: .4rem;
background-color: red;
}
Here's my markup:
<table class="table table-striped vitalStatisticsTable">
<tr>
<th scope="row">Education</th>
<td>Post Graduate</td>
</tr>
<tr>
<th scope="row">Vices</th>
<td>Drinks socially</td>
</tr>
<tr>
<th scope="row">Race</th>
<td>White</td>
</tr>
<tr>
<th scope="row">Pets</th>
<td>George the turtle</td>
</tr>
</table>
My rules are not applied, but I'm not really sure what i'm doing wrong. I thought I had to increase specificity, and as I understand it, I am being more specific than bootstrap, but maybe i'm missing something. Can someone help a css n00b out?