Bootstrap Basic Table
A basic Bootstrap table has a light padding and only horizontal dividers.
The .table class adds basic styling to a table:
EXAMPLE:
![9.PNG](https://static.wixstatic.com/media/0aad0d_4e56e467706c4d23b0ae05c46b46991c~mv2.png/v1/fill/w_762,h_130,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/9_PNG.png)
Striped Rows
The .table-striped class adds zebra-stripes to a table:
EXAMPLE:
![10.PNG](https://static.wixstatic.com/media/0aad0d_2bd3f37e0c0f41928c6f83e095e9e619~mv2.png/v1/fill/w_762,h_133,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/10_PNG.png)
Bordered Table
The .table-bordered class adds borders on all sides of the table and cells:
EXAMPLE:
![11.PNG](https://static.wixstatic.com/media/0aad0d_55ce241d437d4f8f842244a12874913f~mv2.png/v1/fill/w_762,h_138,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/11_PNG.png)
Hover Rows
The .table-hover class adds a hover effect (grey background color) on table rows:
EXAMPLE:
![12.PNG](https://static.wixstatic.com/media/0aad0d_23f951c122004a5d8d6d696f0ea4f704~mv2.png/v1/fill/w_740,h_122,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/12_PNG.png)
Condensed Table
The .table-condensed class makes a table more compact by cutting cell padding in half:
EXAMPLE:
![13.PNG](https://static.wixstatic.com/media/0aad0d_54d773f66134461a8904f0c11ee5e1d0~mv2.png/v1/fill/w_750,h_107,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/13_PNG.png)
Contextual Classes
Contextual classes can be used to color table rows (<tr>) or table cells (<td>):
EXAMPLE:
The contextual classes that can be used are:
Class Description
.active Applies the hover color to the table row or table cell
.success Indicates a successful or positive action
.info Indicates a neutral informative change or action
.warning Indicates a warning that might need attention
.danger Indicates a dangerous or potentially negative action
![14.PNG](https://static.wixstatic.com/media/0aad0d_3e79ab6481a24b998d3272a3ced3b870~mv2.png/v1/fill/w_762,h_231,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/14_PNG.png)
Responsive Tables
The .table-responsive class creates a responsive table. The table will then scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, there is no difference:
EXAMPLE:
<div class="table-responsive">
<table class="table">
...
</table>
</div>