Tables

Examples for opt-in styling of tables with Bootstrap.

Bootstrap docsarrow-right-1


Basic example

Due to the widespread use of tables across third-party widgets like calendars and date pickers we've designed our tables to be opt-in. Just add the base class table to any <table>, then extend with custom styles or our various included modifier classes.

#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter

Dark table

You can also invert the colors—with light text on dark backgrounds—with .table-dark.

#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter

Striped rows

Use .table-striped to add zebra-striping to any table row within the <tbody>.

#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter