Javatpoint Logo
Javatpoint Logo

Colors

By using utility classes you can change the color of the text. It can also be used to links and will darken on hover just like our default link styles.

Syntax:

Muted Class:

Primary Class:

Success:

Info:

Warning:

Danger:

White:

Contextual text classes can also be used with anchors tags with the provided hover and focus states.

Note: The .text-white class has no link styling.

Example:


Next TopicBootstrap Flexbox




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA