88

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

2

1 Answer 1

103

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Seems like calling it 'bootstrap-gradient-theme' or 'bootstrap-alternative-theme' would have cut down on some confusion.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.