For basic styling—light padding and only horizontal dividers—add the base class
.table to any
<table>. It may seem super redundant, but given the widespread use of tables for other plugins like calendars and date pickers, we've opted to isolate table styles.
The official table design for ca.gov. Use
Zebra Striped Table
.table-striped to add zebra-striping to any table row within the
.table-bordered for borders on all sides of the table and cells.
Create responsive tables by wrapping any
.table-responsive div to make them scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.