Bootstrap Change Default Background Color

Bootstrap Change Default Background Color Css– It is very simple to change the default background color in bootstrap. There are many ways to change the default background color in bootstrap, here in this tutorial we are going to change the default background color using CSS.


Bootstrap Change Default Background Color | Css | Example

Here in this article we are going to change body color by add the custom color to body Simply as below-

Bootstrap Change Default Background Color Example:

body { background: navy !important; }

Using the above method you can override the default background color. You need to add !important to override the bootstrap’s default style. If you don’t want to add the background color uisng the default body tag, you can assign some class to body then add the same style as above.


Advertisements

Add Comment

📖 Read More