Bootstrap
Tables
Jogesh K. Muppala
Tables
Tables are meant to display tabular data in a web
page
Tables have been hijacked by website designers
to design and posi>on web content
Here we discuss tables as they are originally
meant to be used
Bootstrap Tables
Always start by assigning the table class to
tables:
<table class=table>
</table>
Bootstrap Tables
table-striped for zebra striped rows
table-bordered for borders to table cells
table-hover for highligh>ng rows when you hover over a
row
table-condensed for cuLng the cell padding in half
table-responsive for making the tables responsive. Can
horizontally scroll tables on screen sizes less than 768px.
Bootstrap Table Contextual Classes
Individual rows or cells can be colored using
the following classes: ac2ve, success, info,
warning and danger
<tr class=success> </tr>
<td class=danger> </td>