我有表中有一些行在那里。我想在淘汰表中将td字体大小增加到24。如何在头部为td编写css风格,以便增加所有td数据的字体大小。如何增加表中所有tds的字体大小
<table class="table table-striped">
<thead>
<tr class="success">
<th class="success">a</th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
</tr>
</thead>
<tbody>
<tr class="danger">
<td id="hhh" class="success">filled</td>
@foreach (var item in Model) {
<td>@item.Filled.ToString("N2") cm</td>
}
</tr>
<tr class="info">
<td>Updated time</td>
@foreach (var item in Model) {
<td>@item.UpdatedTime</td>
}
</tr>
<tr class="warning">
<td>Area</td>
@foreach (var item in Model) {
<td>@item.Area</td>
}
</tr>
</tbody>
</table>
你想增加'只有th''字体size'? –