For basic styling—light padding and only horizontal dividers—add the base class .table to any <table>.
| # | Name | Access | |
|---|---|---|---|
| 1 | Gavin | example@domain.com | Business |
| 2 | Jack | example@domain.com | Personal |
| 3 | Ryan | example@domain.com | Disabled |
Add .table-bordered for borders on all sides of the table and cells.
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Bennet | Ludwig | @bLud |
| 2 | Bennet | Ludwig | @bLud |
| 3 | Havasi Vendel | ||
Use .table-striped to add zebra-striping to any table row within the <tbody>.
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Bennet | Ludwig | @bLud |
| 2 | Bennet | Ludwig | @bLud |
| 3 | Bennet | Ludwig | @bLud |
Use one of two modifier classes to make <thead>s appear light or dark gray.
| # | Name | Access | |
|---|---|---|---|
| 1 | Gavin | example@domain.com | Business |
| 2 | Jack | example@domain.com | Personal |
| 3 | Ryan | example@domain.com | Disabled |
Your awesome text goes here.
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Bennet | Ludwig | @bLud |
| 2 | Bennet | Ludwig | @bLud |
| 3 | Bennet | Ludwig | @bLud |
Use contextual classes to color table rows or individual cells.
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Bennet | Ludwig | @bLud |
| 2 | Bennet | Ludwig | @bLud |
| 3 | Bennet | Ludwig | @bLud |