diff options
| author | Mark Otto <[email protected]> | 2018-01-20 15:11:19 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2018-01-20 15:11:19 -0800 |
| commit | a098de125fdb41efb1d8f03e323bcc4360372cf7 (patch) | |
| tree | 35c928a344cdd454990b93c7fb3ffab7a28a8262 /docs | |
| parent | 3a6ab45b78dded99018fcd05ee0c0ca7b196f983 (diff) | |
| download | bootstrap-a098de125fdb41efb1d8f03e323bcc4360372cf7.tar.xz bootstrap-a098de125fdb41efb1d8f03e323bcc4360372cf7.zip | |
tweak html
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/4.0/content/tables.md | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/docs/4.0/content/tables.md b/docs/4.0/content/tables.md index 33abf8936..cfacb3c79 100644 --- a/docs/4.0/content/tables.md +++ b/docs/4.0/content/tables.md @@ -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> @@ -309,18 +309,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> @@ -328,14 +322,16 @@ Add `.table-borderless` for a table without borders. </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> @@ -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> |
