我有表中有一些行在那裏。我想在淘汰表中將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'? –