this is a question that's been bothering me for a little while now.
when working on a "large" site (I'm using that term fairly liberally)
from a maintenance point of view it is far easier for me to create a set of rules for particular sections of the site say navigation or footer.
/* NAVIGATION */
/* generic styles */
/* media query #1 */
/* media query #2 */
/* media query #3 */
/* FOOTER */
/* generic styles */
/* media query #1 */
/* media query #2 */
/* media query #3 */
etc...
normally, when I'm done with the site, i'll combine them into the one stylesheet which has all the similar MQ together so...
/* generic styles - all*/
/* media query #1 - all */
/* media query #2 - all */
/* media query #3 - all */
but when the css gets quite long it's a lot harder to skim through and find the rule for a particular component, and there doesn't appear to be a huge performance issue with doing it via components/sections. does any one have any knowledge as to whether or not it does add to the performance of a site by doing it so?
when working on a "large" site (I'm using that term fairly liberally)
from a maintenance point of view it is far easier for me to create a set of rules for particular sections of the site say navigation or footer.
/* NAVIGATION */
/* generic styles */
/* media query #1 */
/* media query #2 */
/* media query #3 */
/* FOOTER */
/* generic styles */
/* media query #1 */
/* media query #2 */
/* media query #3 */
etc...
normally, when I'm done with the site, i'll combine them into the one stylesheet which has all the similar MQ together so...
/* generic styles - all*/
/* media query #1 - all */
/* media query #2 - all */
/* media query #3 - all */
but when the css gets quite long it's a lot harder to skim through and find the rule for a particular component, and there doesn't appear to be a huge performance issue with doing it via components/sections. does any one have any knowledge as to whether or not it does add to the performance of a site by doing it so?