Table
To add the default spacing to a table, use the class table
.
First name | Last name |
---|---|
John | Doe |
Jane | Doe |
To add the default spacing to a table, use the class table
.
First name | Last name |
---|---|
John | Doe |
Jane | Doe |
Adjust the padding of table cells by adding one of the following modifier classes:
table--sm
or table--xs
First name | Last name |
---|---|
John | Doe |
Jane | Doe |
Add borders to table cells by adding the modifier class: table--bordered
First name | Last name |
---|---|
John | Doe |
Jane | Doe |
Add stripes to table rows with the modifier class: table--striped
First name | Last name |
---|---|
John | Doe |
Jane | Doe |
Force all cells within a table to occupy the same width as each other with the
modifier class: table--fixed
First name | Last name |
---|---|
John | Doe |
Jane | Doe |
Make a table friendlier on a mobile device with the modifier class: table--responsive
.
This takes effect on the medium breakpoint and below.
First name | Last name |
---|---|
John | Doe |
Jane | Doe |