Basic Table
Documentation and examples for opt-in styling of tables (given their prevalent use in JavaScript plugins) with Bootstrap more details.
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Lucia | Christ | @Lucia |
| 2 | Catrin | Seidl | @catrin |
| 3 | Lilli | Kirsh | @lilli |
| 4 | Else | Voigt | @voigt |
| 5 | Ursel | Harms | @ursel |
| 6 | Anke | Sauter | @Anke |
Striped Table
Use .table-striped to add zebra-striping to any table row within the <tbody>. Read bootstrap documentation for more details.
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Lucia | Christ | @Lucia |
| 2 | Catrin | Seidl | @catrin |
| 3 | Lilli | Kirsh | @lilli |
| 4 | Else | Voigt | @voigt |
| 5 | Ursel | Harms | @ursel |
| 6 | Anke | Sauter | @Anke |
Bordered Table
Add .table-bordered for borders on all sides of the table and cells. Read bootstrap documentation for more details.
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Lucia | Christ | @Lucia |
| 2 | Catrin | Seidl | @catrin |
| 3 | Lilli | Kirsh | @lilli |
| 4 | Else | Voigt | @voigt |
| 5 | Ursel | Harms | @ursel |
| 6 | Anke | Sauter | @Anke |
Variants Table
Use contextual classes to color table rows or individual cells. Read bootstrap documentation for more details.
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Lucia | Christ | @Lucia |
| 2 | Catrin | Seidl | @catrin |
| 3 | Lilli | Kirsh | @lilli |
| 4 | Else | Voigt | @voigt |
| 5 | Ursel | Harms | @ursel |
| 6 | Anke | Sauter | @Anke |
Dark Table
You can also invert the colors—with light text on dark backgrounds—with .table-dark. Read bootstrap documentation for more details.
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Lucia | Christ | @Lucia |
| 2 | Catrin | Seidl | @catrin |
| 3 | Lilli | Kirsh | @lilli |
| 4 | Else | Voigt | @voigt |
| 5 | Ursel | Harms | @ursel |
| 6 | Anke | Sauter | @Anke |
Table head options
Similar to tables and dark tables, use the modifier classes .table-light or .table-dark to make <thead>s appear light or dark gray. Read bootstrap documentation for more details.
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Lucia | Christ | @Lucia |
| 2 | Catrin | Seidl | @catrin |
| 3 | Lilli | Kirsh | @lilli |
| 4 | Else | Voigt | @voigt |
| 5 | Ursel | Harms | @ursel |
| 6 | Anke | Sauter | @Anke |
Active Table
Highlight a table row or cell by adding a .table-active class. Read bootstrap documentation for more details.
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Lucia | Christ | @Lucia |
| 2 | Catrin | Seidl | @catrin |
| 3 | Lilli | Kirsh | @lilli |
| 4 | Else | Voigt | @voigt |
| 5 | Ursel | Harms | @ursel |
| 6 | Larry the Bird | @Anke | |
Hoverable Rows
Add .table-hover to enable a hover state on table rows within a <tbody>. Read bootstrap documentation for more details.
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Lucia | Christ | @Lucia |
| 2 | Catrin | Seidl | @catrin |
| 3 | Lilli | Kirsh | @lilli |
| 4 | Else | Voigt | @voigt |
| 5 | Ursel | Harms | @ursel |
| 6 | Anke | Sauter | @Anke |