Twitter bootstrap 减少了引导表内容的字体大小
我想减小引导表的字体大小Twitter bootstrap 减少了引导表内容的字体大小,twitter-bootstrap,ruby-on-rails-5,Twitter Bootstrap,Ruby On Rails 5,我想减小引导表的字体大小 <table class="table table-responsive table-striped table-bordered table-sm table-condensed"> <thead class="thead-light"> <tr> <th>First Name</th> <th>Middle Name</th> <
<table class="table table-responsive table-striped table-bordered table-sm table-condensed">
<thead class="thead-light">
<tr>
<th>First Name</th>
<th>Middle Name</th>
<th>Last Name</th>
</tr>
</thead>
<tbody>
<tr>
<td>Hans</td>
<td>Der</td>
<td>Man</td>
</tr>
</tbody>
</table>
我遇到的问题是table condensed
属性似乎只影响表头行,而不影响其余行。
我想知道为什么tbody
没有选择table condensed
指定的字体大小。有什么想法吗
/* tables */
.table {
border-radius: 0px;
width: 50%;
margin: 0px auto;
float: none;
}
.table-condensed{
font-size: 5px;
}