Basic table
Documentation and examples for opt-in styling of tables (given their prevelant use in JavaScript plugins) with Bootstrap 4 can be found here# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Striped rows table
Use .table-striped to add zebra-striping to any table row within the 'tbody'. (more info)# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Bordered table
Add .table-bordered for borders on all sides of the table and cells. (more info)# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Mark | Otto | @TwBootstrap |
3 | Jacob | Thornton | @fat |
4 | Larry the Bird |
Hoverable rows table
Add .table-hover to enable a hover state on table rows within a 'tbody'. (more info)# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
1 | John | Doe | @johnd |
3 | Larry the Bird |