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

CssTwitter Bootstrap-3

Css Problem Overview


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

Css Solutions


Solution 1 - Css

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 https://getbootstrap.com/docs/3.4/css/#buttons and then click on "Preview theme" from the very bottom of the menu on the right-hand side of the page.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionLijin DurairajView Question on Stackoverflow
Solution 1 - CssKishore KumarView Answer on Stackoverflow