Border additive
(borders_border
)
Use it to add an element’s borders. Choose from all borders or one at a time.
All (border)
Top (border-top)
Right (border-right)
Bottom (border-bottom)
Left (border-left)
Border subtractive
(borders_border_substractive
)
Use it to remove an element’s borders. Choose from all borders or one at a time.
All (border-0)
Top (border-top-0)
Right (border-right-0)
Bottom (border-bottom-0)
Left (border-left-0)
Border color
(borders_border_color
)
Change the border color using utilities built on our theme colors.
Primary (border-primary)
Secondary (border-secondary)
Success (border-success)
Danger (border-danger)
Warning (border-warning)
Info (border-info)
Light (border-light)
Dark (border-dark)
White (border-white)
Border radius
(borders_border_radius
)
Add classes to an element to easily round its corners.
Rounded (rounded)
Rounded Top (rounded-top)
Rounded Right (rounded-right)
Rounded Bottom (rounded-bottom)
Rounded Left (rounded-left)
Rounded Circle (rounded-circle)
Rounded Subtractive (rounded-0)
Background color
(colors_background_color
)
Similar to the contextual text color classes, easily set the background of an element to any contextual class.
Primary (bg-primary)
Secondary (bg-secondary)
Success (bg-success)
Danger (bg-danger)
Warning (bg-warning)
Info (bg-info)
Light (bg-light)
Dark (bg-dark)
White (bg-white)
Transparent (bg-transparent)
Color
(colors_color
)
Convey meaning through color with a handful of color utility classes.
Primary (text-primary)
Secondary (text-secondary)
Success (text-success)
Danger (text-danger)
Warning (text-warning)
Info (text-info)
Light (text-light)
Dark (text-dark)
Body (text-body)
Muted (text-muted)
White (text-white)
Black 50 (text-black-50)
White 50 (text-white-50)
Shadows
(shadows
)
Add or remove shadows to elements with box-shadow utilities.
None (shadow-none)
Small (shadow-sm)
Normal (shadow)
Large (shadow-lg)
Horizontal centering
(spacing_horizontal_centering
)
An .mx-auto class for horizontally centering fixed-width block level content—that is, content that has display: block and a width set—by setting the horizontal margins to auto.
Horizontal centering (mx-auto)
Typography
(typography
)
.h1 through .h6 classes are available, for when you want to match the font styling of a heading but cannot use the associated HTML element. Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style. Keep in mind these headings are not responsive by default.
Heading 1 (h1)
Heading 2 (h2)
Heading 3 (h3)
Heading 4 (h4)
Heading 5 (h5)
Heading 6 (h6)
Display heading 1 (display-1)
Display heading 2 (display-2)
Display heading 3 (display-3)
Display heading 4 (display-4)
Lead (lead)
Margin
(spacing_margin
)
0 (m-0)
1 (m-1)
2 (m-2)
3 (m-3)
4 (m-4)
5 (m-5)
Auto (m-auto)
Margin top
(spacing_margin_top
)
0 (mt-0)
1 (mt-1)
2 (mt-2)
3 (mt-3)
4 (mt-4)
5 (mt-5)
Auto (mt-auto)
Margin bottom
(spacing_margin_bottom
)
0 (mb-0)
1 (mb-1)
2 (mb-2)
3 (mb-3)
4 (mb-4)
5 (mb-5)
Auto (mb-auto)
Margin left
(spacing_margin_left
)
0 (ml-0)
1 (ml-1)
2 (ml-2)
3 (ml-3)
4 (ml-4)
5 (ml-5)
Auto (ml-auto)
Margin right
(spacing_margin_right
)
0 (mr-0)
1 (mr-1)
2 (mr-2)
3 (mr-3)
4 (mr-4)
5 (mr-5)
Auto (mr-auto)
Padding
(spacing_padding
)
0 (p-0)
1 (p-1)
2 (p-2)
3 (p-3)
4 (p-4)
5 (p-5)
Auto (p-auto)
Padding top
(spacing_padding_top
)
0 (pt-0)
1 (pt-1)
2 (pt-2)
3 (pt-3)
4 (pt-4)
5 (pt-5)
Auto (pt-auto)
Padding bottom
(spacing_padding_bottom
)
0 (pb-0)
1 (pb-1)
2 (pb-2)
3 (pb-3)
4 (pb-4)
5 (pb-5)
Auto (pb-auto)
Padding left
(spacing_padding_left
)
0 (pl-0)
1 (pl-1)
2 (pl-2)
3 (pl-3)
4 (pl-4)
5 (pl-5)
Auto (pl-auto)
Padding right
(spacing_padding_right
)
0 (pr-0)
1 (pr-1)
2 (pr-2)
3 (pr-3)
4 (pr-4)
5 (pr-5)
Auto (pr-auto)
Font weight
(text_font_weight
)
Quickly change the weight (boldness) of text.
Bold (font-weight-bold)
Normal (font-weight-normal)
Light (font-weight-light)
Font italics
(text_font_italics
)
Quickly italicize text.
Italic (font-italic)
Text alignment
(text_text_alignment
)
Easily realign text to components with text alignment classes.
Justify (text-justify)
Left (text-left)
Center (text-center)
Right (text-right)
Text transform
(text_text_transform
)
Transform text in components with text capitalization classes.
Lowercase (text-lowercase)
Uppercase (text-uppercase)
Capitalize (text-capitalize)