2 ms·
Proper classes would appear rather more like `class="secondary sticky container hero-text"`* in the markup. So no. * or `hero text`, even (sans hyphen)
by cxr 3y ago
Proper classes would appear rather more like `class="secondary sticky container hero-text"`* in the markup. So no.
* or `hero text`, even (sans hyphen)
- imilk 3y agoHave you ever jumped in on a project with hundreds of "secondary sticky container hero-text" all over the code base? It is a woeful few hours (at least, maybe day or two) of cross-referencing all of these "semantic" class names to their definitions in CSS, and even then you are never truly sure if there is another rule overwriting your changes somewhere else in the CSS. And good luck if more than one developer has touched the code since you last saw it.
- troupo 3y agoAs I replied in a sibling comment: https://news.ycombinator.com/item?id=36635382 https://news.ycombinator.com/item?id=36635382
- deleted 3y ago[deleted]