1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 10:05:40 +02:00

tweak html

This commit is contained in:
Mark Otto
2018-01-20 15:11:19 -08:00
parent 3a6ab45b78
commit a098de125f

View File

@@ -295,9 +295,9 @@ Add `.table-borderless` for a table without borders.
<thead> <thead>
<tr> <tr>
<th scope="col">#</th> <th scope="col">#</th>
<th scope="col">First Name</th> <th scope="col">First</th>
<th scope="col">Last Name</th> <th scope="col">Last</th>
<th scope="col">Username</th> <th scope="col">Handle</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -309,18 +309,12 @@ Add `.table-borderless` for a table without borders.
</tr> </tr>
<tr> <tr>
<th scope="row">2</th> <th scope="row">2</th>
<td>Mark</td>
<td>Otto</td>
<td>@TwBootstrap</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Jacob</td> <td>Jacob</td>
<td>Thornton</td> <td>Thornton</td>
<td>@fat</td> <td>@fat</td>
</tr> </tr>
<tr> <tr>
<th scope="row">4</th> <th scope="row">3</th>
<td colspan="2">Larry the Bird</td> <td colspan="2">Larry the Bird</td>
<td>@twitter</td> <td>@twitter</td>
</tr> </tr>
@@ -328,14 +322,16 @@ Add `.table-borderless` for a table without borders.
</table> </table>
{% endexample %} {% endexample %}
`.table-borderless` can also be used on dark tables.
{% example html %} {% example html %}
<table class="table table-borderless table-dark"> <table class="table table-borderless table-dark">
<thead> <thead>
<tr> <tr>
<th scope="col">#</th> <th scope="col">#</th>
<th scope="col">First Name</th> <th scope="col">First</th>
<th scope="col">Last Name</th> <th scope="col">Last</th>
<th scope="col">Username</th> <th scope="col">Handle</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -347,18 +343,12 @@ Add `.table-borderless` for a table without borders.
</tr> </tr>
<tr> <tr>
<th scope="row">2</th> <th scope="row">2</th>
<td>Mark</td>
<td>Otto</td>
<td>@TwBootstrap</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Jacob</td> <td>Jacob</td>
<td>Thornton</td> <td>Thornton</td>
<td>@fat</td> <td>@fat</td>
</tr> </tr>
<tr> <tr>
<th scope="row">4</th> <th scope="row">3</th>
<td colspan="2">Larry the Bird</td> <td colspan="2">Larry the Bird</td>
<td>@twitter</td> <td>@twitter</td>
</tr> </tr>