It depands there are many different reasons to choose one or multiple. Some of them are:
- if you are working on this website in team with at least 3-4 people it's good idea to make seperate css file for each subpage and one common with global data for all of them. This global css you can use by import and top of those specific ones. Then team members can work on their subpages simultanously and commit results to repository without merging.
- if you want to highly optimize your page load time and decrease number of connections it's good idea to use one file. In one file it's good practice to seperate groups of css classes with comments like /* header */ etc..
- if subpages look completly different and does not share common anchor classes, header classes, or common master page layout then it will be better to make seperate files in fact it does not take to much resources until you have mln of hits /day and it will be much easier to maintain.
Hope it will help somehow![]()



LinkBack URL
About LinkBacks


Bookmarks