Skip to content

Comment on Using CSS without HTML

Comments

I feel like this is exactly what CSS was ment not to do; It shouldn't be something which adds content; it's simply there for styling.

Something more will confuse new developers into misusing it, and ultimately breaking more things that shouldn't have been even able to do.

To be fair though, the author warns about this several times.

AboutSource Built by g1lg1l

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