Should I change the css style in my file or in the original file -
when want change example style of bootstrap button how should that:
remove css class in bootstrap file , create class in css file settings
leave original css file , create class in css file !important overwrite original file settings.
there surely other ways...
what best considering upgrading new bootstrap.css file?
the best way to:
- leave bootstrap file untouched
- modify class in own stylesheet
- load own stylesheet after bootstrap css
you have benefit of not having use !important
, can still update bootstrap. note: although can update bootstrap-file, still have test page see whether update broke something, @ least assure you didn't lose work
Comments
Post a Comment