Lijin John Lijin John - 1 year ago 143
CSS Question

What is the difference between bootstrap.css and bootstrap-theme.css?

What is the difference between bootstrap.css and bootstrap-theme.css found in the bootstrap file when we download bootstrap?

Answer Source

bootstrap.css is the core css for BootStrap that defines all the style for various controls/components, where as bootstrap-theme.css defines the themes (gradient/animation) for buttons,dropdown menu,navbar,progressbar,panels.

Most of the times adding bootstrap.css is enough for bootstrap to work, but for gradient/animation, you can use bootstrap-theme.css.

You can see the difference on and then click on Preview theme from the affix menu (fixed menu on right side)

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