When I have certain pages in my site with lots of different features I often make a separate css file for that page. For example, I might have a product comparison table with a lot features like highlighting, tooltips, image slider and order buttons, which apply only to that page. But when I get site templates they usually have a massive CSS file with sections for all the different features throughout the site.
Multiple or single CSS file?
18
When I have certain pages in my site with lots of different features I often make a separate css file for that page. For example, I might have a product comparison table with a lot features like highlighting, tooltips, image slider and order buttons, which apply only to that page.
But when I get site templates they usually have a massive CSS file with sections for all the different features throughout the site.
I would think it's better to keep your style sheets lean and mean, even if it means having a half dozen or more to cover my site. After all, only one is being used at a time.
Or does it make no difference whether you have one long file or multiple shorter ones? I'm thinking particularly when it comes to page loading.
But when I get site templates they usually have a massive CSS file with sections for all the different features throughout the site.
I would think it's better to keep your style sheets lean and mean, even if it means having a half dozen or more to cover my site. After all, only one is being used at a time.
Or does it make no difference whether you have one long file or multiple shorter ones? I'm thinking particularly when it comes to page loading.
- signity2
- [1] reply
- ronc0011
- 723Media
- octaminds
- xtrapunch
- [1] reply
- Lloyd Buchinski
- [1] reply
- filthy
- escortbayan Banned
- hotcomputers
- [1] reply
- andrejvasso
- [1] reply
- IM Alex
- [1] reply
- Vincent1988
- alengrew
Next Topics on Trending Feed
-
18