Text Colors
Convey meaning throughcolor
with a handful of color utility classes. Includes support for styling links with hover states, too.
Colors
Colorize text with color utilities. If you want to colorize links, you can use the.link-*
helper classeswhich have:hover
and:focus
states.
.text-primary
.text-secondary
.text-success
.text-danger
.text-warning
.text-info
.text-light
.text-dark
.text-body
.text-muted
.text-white
.text-black-50
.text-white-50
Opacity
As of v5.1.0, text color utilities are generated with Sass using CSS variables. This allows for real-time color changes without compilation and dynamic alpha transparency changes.
This is default primary text
This is 75% opacity primary text
This is 50% opacity primary text
This is 25% opacity primary text