Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider Attribute Modules for CSS #3

Closed
skip405 opened this issue Sep 23, 2014 · 1 comment
Closed

Consider Attribute Modules for CSS #3

skip405 opened this issue Sep 23, 2014 · 1 comment

Comments

@skip405
Copy link

skip405 commented Sep 23, 2014

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

@davidtheclark
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants