From a098de125fdb41efb1d8f03e323bcc4360372cf7 Mon Sep 17 00:00:00 2001 From: Mark Otto <markdotto@gmail.com> Date: Sat, 20 Jan 2018 15:11:19 -0800 Subject: [PATCH] tweak html --- docs/4.0/content/tables.md | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/docs/4.0/content/tables.md b/docs/4.0/content/tables.md index 33abf89361..cfacb3c793 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> -- GitLab