Basic example .table
# |
First Name |
Last Name |
Username |
1 |
Mark |
Otto |
@mdo |
2 |
Jacob |
Thornton |
@fat |
3 |
Larry |
the Bird |
@twitter |
Table inverse .table-inverse
# |
First Name |
Last Name |
Username |
1 |
Mark |
Otto |
@mdo |
2 |
Jacob |
Thornton |
@fat |
3 |
Larry |
the Bird |
@twitter |
Table head options thead.thead-inverse
& thead.thead-default
# |
First Name |
Last Name |
Username |
1 |
Mark |
Otto |
@mdo |
2 |
Jacob |
Thornton |
@fat |
3 |
Larry |
the Bird |
@twitter |
# |
First Name |
Last Name |
Username |
1 |
Mark |
Otto |
@mdo |
2 |
Jacob |
Thornton |
@fat |
3 |
Larry |
the Bird |
@twitter |
Striped rows .table-striped
# |
First Name |
Last Name |
Username |
1 |
Mark |
Otto |
@mdo |
2 |
Jacob |
Thornton |
@fat |
3 |
Larry |
the Bird |
@twitter |
Bordered table .table-bordered
# |
First Name |
Last Name |
Username |
1 |
Mark |
Otto |
@mdo |
2 |
Jacob |
Thornton |
@fat |
4 |
Larry the Bird |
@twitter |
Hoverable rows .table-hover
# |
First Name |
Last Name |
Username |
1 |
Mark |
Otto |
@mdo |
2 |
Jacob |
Thornton |
@fat |
4 |
Larry the Bird |
@twitter |
Small table .table-sm
# |
First Name |
Last Name |
Username |
1 |
Mark |
Otto |
@mdo |
2 |
Jacob |
Thornton |
@fat |
4 |
Larry the Bird |
@twitter |
Responsive table .table-responsive
# |
First Name |
Last Name |
Username |
# Orders |
Last seen |
City |
1 |
Mark |
Otto |
@mdo |
3,120 |
4 days ago |
New York |
2 |
Jacob |
Thornton |
@fat |
450 |
1 week ago |
San Francisco |
3 |
John |
Smith |
@john |
4,102 |
2 hours ago |
Paris |
Contextual classes
# |
First Name |
Last Name |
Username |
# Orders |
Last seen |
City |
1 |
Mark |
Otto |
@mdo |
3,120 |
4 days ago |
New York |
2 |
Jacob |
Thornton |
@fat |
450 |
1 week ago |
San Francisco |
3 |
John |
Smith |
@john |
4,102 |
2 hours ago |
Paris |
1 |
Mark |
Otto |
@mdo |
3,120 |
4 days ago |
New York |
2 |
Jacob |
Thornton |
@fat |
450 |
1 week ago |
San Francisco |
3 |
John |
Smith |
@john |
4,102 |
2 hours ago |
Paris |