loading-img
Default Table

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 our custom table styles.

Order ID Product Buyer Date Payment
# 7561 Gaming Laptop John Doe 12/10/2017 Credit Card
# 1963 New Season Jacket Jane Doe 12/10/2017 Paypal
# 7561 IO Mouse Jonathan Doe 12/10/2017 Credit Card
# 9651 Doe Bike Jonathan Doe 12/10/2017 Credit Card
# 7561 Zets Baseball Bat John Doe 12/10/2017 Credit Card
Striped rows

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

Order ID Product Buyer Date Payment
# 7561 Gaming Laptop John Doe 12/10/2017 Credit Card
# 1963 New Season Jacket Jane Doe 12/10/2017 Paypal
# 7561 IO Mouse Jonathan Doe 12/10/2017 Credit Card
# 9651 Doe Bike Jonathan Doe 12/10/2017 Credit Card
# 7561 Zets Baseball Bat Jonathan Doe 12/10/2017 Credit Card
# 7561 Zets Baseball Bat Jonathan Doe 12/10/2017 Credit Card
# 7561 Zets Baseball Bat Jonathan Doe 12/10/2017 Credit Card
Bordered table

Add .table-bordered for borders on all sides of the table and cells.

Order ID Product Buyer Date Order Note Payment
# 7561 Gaming Laptop John Doe 12/10/2017 As we got further and further away, it [the Earth] diminished in size. Credit Card
# 1963 New Season Jacket Jane Doe 12/10/2017 As we got further and further away, it [the Earth] diminished in size. Paypal
# 7561 IO Mouse Jonathan Doe 12/10/2017 As we got further and further away, it [the Earth] diminished in size. Credit Card
# 9651 Doe Bike Jonathan Doe 12/10/2017 As we got further and further away, it [the Earth] diminished in size. Credit Card
# 7561 Zets Baseball Bat Jonathan Doe 12/10/2017 As we got further and further away, it [the Earth] diminished in size. Credit Card
Contextual classes

Use contextual classes to color table rows or individual cells.

Class Description
.table-active Applies the hover color to a particular row or cell
.table-success Indicates a successful or positive action
.table-info Indicates a neutral informative change or action
.table-warning Indicates a warning that might need attention
.table-danger Indicates a dangerous or potentially negative action

Order ID Product Buyer Date Order Note Payment
# 7561 Gaming Laptop John Doe 12/10/2017 As we got further and further away, it [the Earth] diminished in size. Credit Card
# 1963 New Season Jacket Jane Doe 12/10/2017 As we got further and further away, it [the Earth] diminished in size. Paypal
# 7561 IO Mouse John Doe 12/10/2017 As we got further and further away, it [the Earth] diminished in size. Credit Card
# 9651 Doe Bike Jonathan Doe 12/10/2017 As we got further and further away, it [the Earth] diminished in size. Credit Card
# 7561 Zets Baseball Bat Jonathan Doe 12/10/2017 As we got further and further away, it [the Earth] diminished in size. Credit Card