Basic Tables

Using the most basic table up,here’s how .table-based tables look in Bootstrap. You can use any example of below table for your table and it can be use with any type of bootstrap tables.

Example 1:Table with outer spacing

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

Example 2:Minimal Table with no outer spacing.

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

Inverse table

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

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

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

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

Table head options

Similar to tables and dark tables,use the modifier classes .thead-lightor .thead-darkto make <thead>s appear light or dark gray.

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

Striped rows

Use .table-stripedto add zebra-striping to any table row within the <tbody>. This styling doesn't work in IE8 and below as :nth-child CSS selector isn't supported.

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

Striped inverse dark

Use .table-darkwith .table-stripedto add zebra-striping to any inverse table row within the <tbody>. This styling doesn't work in IE8 and below as :nth-child CSS selector isn't supported.

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

Bordered table

Add .table-borderedfor borders on all sides of the table and cells. For Inverse Dark Table,add .table-darkalong with .table-bordered.

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

Borderless Table

Add .table-borderlessfor a table without borders. It can also be used on dark tables.

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

Hoverable rows

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

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

Contextual classes

Use contextual classes to color table rows or individual cells. Read full documnetation here.

NAMERATESKILLTYPELOCATIONACTION
Michael Right$15/hrUI/UXRemoteAustin,Taxes
Morgan Vanblum$13/hrGraphic conceptsRemoteShangai,China
Tiffani Blogz$15/hrAnimationRemoteAustin,Texas
Ashley Boul$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas
Mikkey Mice$15/hrAnimationRemoteAustin,Texas

Responsive tables

Responsive tables allow tables to be scrolled horizontally with ease. Make any table responsive across all viewports by adding .table-responsiveclass on .table. Or,pick a maximum breakpoint with which to have a responsive table up to by adding .table-responsive{-sm|-md|-lg|-xl}. Read full documnetation here.

Vertical clipping/truncation

Responsive tables make use of overflow-y:hidden,which clips off any content that goes beyond the bottom or top edges of the table. In particular,this can clip off dropdown menus and other third-party widgets.

Always responsive
#Heading 1Heading 2Heading 3Heading 4Heading 5Heading 6Heading 7Heading 8Heading 9Heading 10Heading 11Heading 12Heading 13
Michael RightTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cell
Michael RightTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cell
Michael RightTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cell
today

How can we help? 😄

7:45 AM

Hey John,I am looking for the best admin template.

Could you please help me to find it out? 🤔

7:50 AM

Stack admin is the responsive bootstrap 4 admin template.

8:01 AM