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?
过去多啦不再A梦2017-05-16 13:26:18
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