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:

  1. remove css class in bootstrap file , create class in css file settings

  2. leave original css file , create class in css file !important overwrite original file settings.

  3. there surely other ways...

what best considering upgrading new bootstrap.css file?

the best way to:

  1. leave bootstrap file untouched
  2. modify class in own stylesheet
  3. 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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -