bootstrap class text-primary 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 background color

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

Example 3: 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 4: bootstrap color a div

use something like :
I'm your content inside the grid!

Tags:

Misc Example