The following .table-* variants are supported: primary, secondary, success, danger, warning, info, light, dark
Primary
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Secondary
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Light
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Dark
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Variant Rows & Cells
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Stripes
You can use any of the .table-* classes in conjunction with striped rows/columns
Striped Rows
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Striped Columns
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Hoverable
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Borders
Bordered table
You can change the color of the border via the border classes, e.g. .border-primary .border-secondary .border-dark
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Borderless table
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Table Group Divider
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
John
Doe
@social
Ratings
Grid
Class Prefixes
Extra Small
<576px
Small
≥576px
Medium
≥768px
Large
≥992px
Extra Large
≥1200px
Extra Extra Large
≥1400px
.col-
.col-sm-
.col-md-
.col-lg-
.col-xl-
.col-xxl-
Auto-layout Columns
Equal Width
1 of 2
2 of 2
1 of 3
2 of 3
3 of 3
1 of 2
2 of 2
1 of 3
2 of 3
3 of 3
Fixed + Auto Width
Auto-layout for flexbox grid columns also means you can set the width of one column and have the sibling columns automatically resize around it.
1 of 2
2 of 2
1 of 3
2 of 3
3 of 3
1 of 2
2 of 2
1 of 3
2 of 3
3 of 3
Variable Width Content
Use col-{breakpoint}-auto classes to size columns based on the natural width of their content.
1 of 3
some content here
3 of 3
1 of 3
some larger content here
3 of 3
1 of 3
some content here
3 of 3
1 of 3
some larger content here
3 of 3
Vertically Stacked on Mobile, Horizontal on Desktop
Using a single set of .col-md-* classes, you can create a basic grid system that starts out stacked and becomes horizontal at the medium breakpoint (md).
col-md-8
col-md-4
col-md
col-md
col-md
col-md-8
col-md-4
col-md
col-md
col-md
Traditional 12-Grid
col-1
col-11
col-2
col-10
col-3
col-9
col-4
col-8
col-5
col-7
col-6
col-6
col-7
col-5
col-8
col-4
col-9
col-3
col-10
col-2
col-11
col-1
col-4
col-4
col-4
col-3
col-3
col-3
col-3
col-2
col-2
col-2
col-2
col-2
col-2
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-11
col-2
col-10
col-3
col-9
col-4
col-8
col-5
col-7
col-6
col-6
col-7
col-5
col-8
col-4
col-9
col-3
col-10
col-2
col-11
col-1
col-4
col-4
col-4
col-3
col-3
col-3
col-3
col-2
col-2
col-2
col-2
col-2
col-2
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
col-1
Forms
Form with Background
Form without Background
Popovers
Popovers
Tooltips
Tooltips
Dialogs
The following dialogs should be opened from a URL. This will open the page in an iframe.