在 bootstrap table 末尾添加边框
Add border at the end of bootstrap table
如何在 bootstrap 4 table 的末尾添加边框?类似于在顶部添加了边框。
Bootstrap table: https://jsfiddle.net/mkdeveloper2021/Lrf4gemq/1/
代码:
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</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>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
将 border-bottom
class 添加到您的 table:<table class="table border-bottom">
如何在 bootstrap 4 table 的末尾添加边框?类似于在顶部添加了边框。
Bootstrap table: https://jsfiddle.net/mkdeveloper2021/Lrf4gemq/1/
代码:
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</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>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
将 border-bottom
class 添加到您的 table:<table class="table border-bottom">