Bootstrap Background Color: Customizing Backgrounds
Table of Content:
Only Important Code
Contextual Backgrounds
Use the contextual background classes to provide "meaning through colors".
Note that you can also add a .text-* class if you want a different text color:
This text is important.
This text indicates success.
This text represents some information.
This text represents a warning.
This text represents danger.
Secondary background color.
Dark grey background color.
Light grey background color.
Full Code For The Above Example
Bootstrap Example Contextual Backgrounds
Use the contextual background classes to provide "meaning through colors".
Note that you can also add a .text-* class if you want a different text color:
This text is important.
This text indicates success.
This text represents some information.
This text represents a warning.
This text represents danger.
Secondary background color.
Dark grey background color.
Light grey background color.
Only Important Code
h1 Bootstrap heading 1)
h2 Bootstrap heading 2
h3 Bootstrap heading 3
h4 Bootstrap heading 4
h5 Bootstrap heading 5
h6 Bootstrap heading 6
Full Code For The Above Example
Bootstrap Example h1 Bootstrap heading 1)
h2 Bootstrap heading 2
h3 Bootstrap heading 3
h4 Bootstrap heading 4
h5 Bootstrap heading 5
h6 Bootstrap heading 6