Joined May 2011
·

Eric M Suzanne

OddBird
·
Denver, CO
·
·
·

Posted to Don't fight the CSS cascade. over 1 year ago

Hauleth, I would never trust a compressor to re-arrange my cascade in ways I can't control.

Nerdfunk, Atomic is my favorite of those, and actually follows the cascade quite well. Both atomic design and the cascade move from general patterns towards more specific modules. SMACSS and BEM have a lot of good ideas (I often use naming conventions based on them), but it does seem like they're goal is to defeat the cascade rather than using it. No method is magic. Take what works for you, and leave the rest.

Posted to Don't fight the CSS cascade. over 1 year ago

No. Compressing selectors goes directly against my point. Code order is an important part of the cascade. Order is meaningful. Letting a third-party tool adjust your code order based on nothing but selectors is a really bad idea, and could arbitrarily change the meaning of your code.

Posted to Don't fight the CSS cascade. over 1 year ago

Hi Brad,

You're right. You also have me confused with the other Eric A. Meyer (meyerweb.com). Yes, there are two of us.

Cheers,
-e

Achievements
382 Karma
7,493 Total ProTip Views