我正在尝试在表格单元格中添加一个 Glyphicon。我正在使用具有以下骨架的 Bootstrap 表:
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<th>#</th>
<th>Firstname</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
我像这样将 Glyphicon 插入到其中一个单元格中:
<td>
<span class="glyphicons glyphicons-magnet"></span>
</td>
但是它不起作用。 提前谢谢你。
最佳答案
使用
<span class="glyphicon glyphicon-magnet"></span>
关于html - 在 Bootstrap 表中添加 Bootstrap Glyphicons,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49613403/