+ 1
External CSS
Why do people use external css files is it really worth the bother to create a different file just to have the css and html divided ?
6 Answers
+ 6
1. Easier management
2. Lesser codes piled up together
3. When you open a notepad/text-editor you won't be opening up a zip-bomb
+ 1
on real world we use external css a lot and for me i like us it external because i focused more not get distracted by other code and i feel confertable using it like that and for website to optimize loading time
+ 1
and you simply can use same central css on different html pages
+ 1
Is not an obligation, just do what is most comfortable to you. When your project grows bigger, you will need a centralized solution to manage the code. The industry standard is an external css file. But you can use a custom solution like "search and replace" or a component approach.
+ 1
I guess yeah 'cause that is what I exactly doing đ
0
For me I would say it eases pressure when editing css its just as a module, it create a form of transparency where you only see the css not php, html or javascript.
This helps in editing for one focuses deeply on the css not been distracted by other languages.