html5 - Problem with bootstrap modifying style
迷茫
迷茫 2017-05-16 13:24:18
0
1
682

When using the bootstrap framework, can I directly modify the css style provided by the bootstrap framework? What would be the problem if I modify it directly?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
过去多啦不再A梦

It’s okay to modify it directly, but it’s not recommended.

The general approach is: create a new one bootstrap-local.css (name it as you wish), and append your own style package coverage after all the referenced styles;

Benefits:

  • The updated version will not overwrite the styles you wrote

  • If there is a plug-in based on bootstrap, changing it directly may affect the plug-in

  • You can use some public cdn to loadcdn加载bootstrap

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template