For basic styling—light padding and only horizontal dividers—add the base class .tableto any <table>.
| {{heading}} | |||
|---|---|---|---|
| {{row[0]}} | {{row[1]}} | {{row[2]}} | {{row[3]}} |
Adds zebra-striping to any table row within <tbody>by adding the .table-stripedto the base class
| {{heading}} | |||
|---|---|---|---|
| {{row[0]}} | {{row[1]}} | {{row[2]}} | {{row[3]}} |
Adds borders to any table row within <tbody>by adding the .table-borderedto the base class
| {{heading}} | |||
|---|---|---|---|
| {{row[0]}} | {{row[1]}} | {{row[2]}} | {{row[3]}} |
Enables a hover state within <tbody>by adding the .table-hoverto the base class
| {{heading}} | |||
|---|---|---|---|
| {{row[0]}} | {{row[1]}} | {{row[2]}} | {{row[3]}} |
Makes tables more compact by cutting down cell-padding in half by adding the .table-condensed
| {{heading}} | |||
|---|---|---|---|
| {{row[0]}} | {{row[1]}} | {{row[2]}} | {{row[3]}} |
Custom colors in the rows by the addition of success, warning, danger and info classes respectively
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |