【发布时间】:2017-07-09 01:41:48
【问题描述】:
我在 B4 中使用了“table-hover”,是否可以在悬停的表格行中添加一个 href 以便它们实际上是可点击的?
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td colspan="2">Larry the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
【问题讨论】:
-
为什么可以点击?导航或显示/隐藏内容?
标签: css twitter-bootstrap bootstrap-4 twitter-bootstrap-4