aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-14 00:23:46 -0700
committerMark Otto <[email protected]>2014-07-14 00:23:46 -0700
commite6ee1b228fa06200c677e86696e4a7a72ccf57a7 (patch)
treec2cf6ecb23e84cc0d64b06d45749c645c882969b /docs/components
parentd60d34231a7e76684d43f9c1fb8b1d60d589183e (diff)
downloadbootstrap-e6ee1b228fa06200c677e86696e4a7a72ccf57a7.tar.xz
bootstrap-e6ee1b228fa06200c677e86696e4a7a72ccf57a7.zip
inverse table idea
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/tables.md37
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>`.