For basic styling—light padding and only horizontal dividers—add the base class
. 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 our custom table styles.
to add zebra-striping to any table row within the
for borders on all sides of the table and cells.
to enable a hover state on table rows within a
to make tables more compact by cutting cell padding in half.
Use contextual classes to color table rows or individual cells.
Create responsive tables by wrapping any
to make them scroll horizontally up to small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.