Skip to content

Commit

Permalink
tweak html
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Jan 20, 2018
1 parent 3a6ab45 commit a098de1
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions docs/4.0/content/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ Add `.table-borderless` for a table without borders.
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First Name</th>
<th scope="col">Last Name</th>
<th scope="col">Username</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
Expand All @@ -309,33 +309,29 @@ Add `.table-borderless` for a table without borders.
</tr>
<tr>
<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>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">4</th>
<th scope="row">3</th>
<td colspan="2">Larry the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
{% endexample %}

`.table-borderless` can also be used on dark tables.

{% example html %}
<table class="table table-borderless table-dark">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First Name</th>
<th scope="col">Last Name</th>
<th scope="col">Username</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
Expand All @@ -347,18 +343,12 @@ Add `.table-borderless` for a table without borders.
</tr>
<tr>
<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>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">4</th>
<th scope="row">3</th>
<td colspan="2">Larry the Bird</td>
<td>@twitter</td>
</tr>
Expand Down

0 comments on commit a098de1

Please sign in to comment.