Skip to content

mdbootstrap/bootstrap-how-to-change-background-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

How to change background color in Bootstrap?

You can easily change the background color in bootstrap by using .bg-* color classes

<div class="bg-primary"></div>
<div class="bg-secondary"></div>
<div class="bg-success"></div>
<div class="bg-danger"></div>
<div class="bg-warning"></div>
<div class="bg-info"></div>
<div class="bg-light"></div>
<div class="bg-dark"></div>

The full palette of over 300 colors can be found in the Color Documentation.

Much more examples and a detailed description can be found at 📄 Documentation page

Releases

No releases published

Packages

No packages published