Skip to content

Comment on CSS Classes Considered Harmfulparent

Comments

The main problem (as described) is that CSS classes don't take parameters. Imagine coding in Foolang and its classes don't take parameters, resulting in class explosion.

Author goes on to show how to give them parameters, news at 11. ;-)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.