--- layout: default title: "Table - Sleek Admin Dashboard Template" parent: "tables" sub_parent: "tables" activePage: "basic-tables" plugins: ["date_range_picker"] ---
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 |
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 |
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 |
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 |
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 |
Similar to tables and dark tables, use the modifier classes .thead-light
or .thead-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 |