What is the difference between bootstrap.css and bootstrap-theme.css found in the bootstrap file when we download bootstrap?
-
7Well this is a valid question, but there is already an answer over here : stackoverflow.com/questions/18327543/…DollarAkshay– DollarAkshay2016-05-21 16:53:26 +00:00Commented May 21, 2016 at 16:53
-
1Does this answer your question? How to use bootstrap-theme.css with bootstrap 3?Ian Kemp - SO dead by AI greed– Ian Kemp - SO dead by AI greed2021-03-02 13:37:31 +00:00Commented Mar 2, 2021 at 13:37
Add a comment
|
1 Answer
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.
1 Comment
d512
Seems like calling it 'bootstrap-gradient-theme' or 'bootstrap-alternative-theme' would have cut down on some confusion.