Basic Tables

For basic styling—light padding and only horizontal dividers—add the base class .tableto any <table>.

#First NameLast NameE-MailOfficeSalary
1MarkOttomo@goo.comLondon$45,000
2JacobThorntonthor009@goo.comTokyo$25,300
3AnnaBirdbird21@goo.comEdinburgh$15,200
4JohnDoedoedawg@goo.comWarsaw$12,950
5VeronicaMoonmoon87@goo.comNew York$6,950

Striped Rows

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

#First NameLast NameE-MailOfficeSalary
1MarkOttomo@goo.comLondon$45,000
2JacobThorntonthor009@goo.comTokyo$25,300
3AnnaBirdbird21@goo.comEdinburgh$15,200
4JohnDoedoedawg@goo.comWarsaw$12,950
5VeronicaMoonmoon87@goo.comNew York$6,950

Bordered table

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

#First NameLast NameE-MailOfficeSalary
1MarkOttomo@goo.comLondon$45,000
2JacobThorntonthor009@goo.comTokyo$25,300
3AnnaBirdbird21@goo.comEdinburgh$15,200
4JohnDoedoedawg@goo.comWarsaw$12,950
5VeronicaMoonmoon87@goo.comNew York$6,950

Hover rows

Add .table-hoverto enable a hover state on table rows within a <tbody>.

#First NameLast NameE-MailOfficeSalary
1MarkOttomo@goo.comLondon$45,000
2JacobThorntonthor009@goo.comTokyo$25,300
3AnnaBirdbird21@goo.comEdinburgh$15,200
4JohnDoedoedawg@goo.comWarsaw$12,950
5VeronicaMoonmoon87@goo.comNew York$6,950

Condensed table

Add .table-condensedto make tables more compact by cutting cell padding in half.

#First NameLast NameE-MailOfficeSalary
1MarkOttomo@goo.comLondon$45,000
2JacobThorntonthor009@goo.comTokyo$25,300
3AnnaBirdbird21@goo.comEdinburgh$15,200
4JohnDoedoedawg@goo.comWarsaw$12,950
5VeronicaMoonmoon87@goo.comNew York$6,950

Contextual classes

Use contextual active, success, info, warning, dangerclasses to color table rows or individual cells.

#First NameLast NameE-MailOfficeSalary
1MarkOttomo@goo.comLondon$45,000
2JacobThorntonthor009@goo.comTokyo$25,300
3AnnaBirdbird21@goo.comEdinburgh$15,200
4JohnDoedoedawg@goo.comWarsaw$12,950
5VeronicaMoonmoon87@goo.comNew York$6,950

Copyright© 2016 Develop by Zwolek. All Rights Reserved.