bootstrap 4 table th background color code example
Example: bootstrap table dense
<!-- BOOTSTRAP V3 -->
<table class="table table-condensed">
...
</table>
<!-- BOOTSTRAP v4 -->
<table class="table table-sm">
...
</table>
<!-- BOOTSTRAP V3 -->
<table class="table table-condensed">
...
</table>
<!-- BOOTSTRAP v4 -->
<table class="table table-sm">
...
</table>