Changing Bootstrap Styles
When you want to change Bootstrap styles, you will want to create a new stylesheet rather than changing the bootstrap.css file Doing this in a new stylesheet is recommended for several reasons:
- It makes clear what changes you are making to standard Bootstrap CSS.
- Changing the standard Bootstrap CSS file itself would be very difficult if you tried to change the minified version. Thus your changed file would then either not be minified or you would have to create a new minified version yourself.
- Most important, if you make changes to the standard Bootstrap CSS file, these changes would be lost when you upgraded to a later version of Bootstrap
The reference to the new stylesheet must occur after the reference to the standard Bootstrap CSS file so that the new stylesheet overrides styles in the standard Bootstrap file where there is a conflict.
Revised: November 15, 2016