davidtheclark / scalable-css-reading-list

Collected dispatches from The Quest for Scalable CSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider Attribute Modules for CSS

skip405 opened this issue · comments

One of the ideas worth checking out imo.
http://glenmaddern.com/articles/introducing-am-css

Yeah, I was thinking about that. It's definitely an interesting experiment. I think it's much more about making HTML readable, though, than making CSS scalable --- right? Ultimately seems like the whole idea is based on a (1) agreeing with Gallagher that the multi-class system is a better approach than the single-class system, but (2) disliking the need to write component/descendent names two or more times in the class list. (And then also an interpretation of what the class attribute should be for.) So the goal is to have the same benefits as component-descendent-modifier conventions but without long class lists in the HTML --- not really a new approach to the CSS, it seems to me, so much as a new approach to the labeling/hooks in HTML. At least, that's my thought, and my reason why I'm not sure it's presenting a lot about "scalable css". Thanks for sharing though!