diff options
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/tables.md | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/docs/components/tables.md b/docs/components/tables.md index 4b3e7937b..91d07a252 100644 --- a/docs/components/tables.md +++ b/docs/components/tables.md @@ -40,6 +40,41 @@ Due to the widespread use of tables across plugins like calendars and date picke </table> {% endexample %} +## Inverse table + +{% example html %} +<table class="table table-inverse"> + <thead> + <tr> + <th>#</th> + <th>First Name</th> + <th>Last Name</th> + <th>Username</th> + </tr> + </thead> + <tbody> + <tr> + <td>1</td> + <td>Mark</td> + <td>Otto</td> + <td>@mdo</td> + </tr> + <tr> + <td>2</td> + <td>Jacob</td> + <td>Thornton</td> + <td>@fat</td> + </tr> + <tr> + <td>3</td> + <td>Larry</td> + <td>the Bird</td> + <td>@twitter</td> + </tr> + </tbody> +</table> +{% endexample %} + ## Table head options Use one of two modifier classes to make `<thead>`s appear light or dark gray. @@ -105,8 +140,6 @@ Use one of two modifier classes to make `<thead>`s appear light or dark gray. </table> {% endexample %} - - ## Striped rows Use `.table-striped` to add zebra-striping to any table row within the `<tbody>`. |
