Sharpless512 Sharpless512 - 2 years ago 128
CSS Question

White background class in Bootstrap

I'm searching for a class that makes the element a white background.

maybe something like .bg-white, I couldn't find it in Bootstrap but maybe its hidden somewhere?

Answer Source

Bootstrap doesn't have a white background class.

Create your own:

    background:#ffffff !important;

This can be placed in bootstrap.css or your own custom stylesheet if you've created one.

The only backgrounds there are in bootstrap are:


Source: Bootstrap website

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download