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

primary - #007bff
secondary - #6c757d
success - #28a745
danger - #dc3545
warning - #ffc107
info - #17a2b8
light - #f8f9fa
dark - #343a40
muted - #6c757d
white - #ffffff

Example 4: 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 5: bootstrap 4 bg

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

Example 6: bootstrap background color

Primary link

Secondary link

Success link

Danger link

Warning link

Info link

Light link

Dark link

Muted link

White link

Tags:

Misc Example