boostrap color class code example

Example 1: bootstrap text color

.text-primary

.text-secondary

.text-success

.text-danger

.text-warning

.text-info

.text-light

.text-dark

.text-muted

.text-white

Example 2: bootstrap 4 text color

Text with primary color

Text with secondary color

Text with success color

Text with danger color

Text with warning color

Text with info color

Text with light color

Text with dark color

Text with muted color

Text with white color

Example 3: bootstrap background

.bg-primary
.bg-secondary
.bg-success
.bg-danger
.bg-warning
.bg-info
.bg-light
.bg-dark
.bg-white

Tags:

Misc Example