Comment by lelandfe
4 days ago
> Use CSS nesting to avoid writing “far reaching” selectors and style component-per-component
I view nesting as a footgun. I recommend trying to restrain all CSS to one selector, and to instead view additional qualifiers as an escape hatch where needed. Death to specificity.
No comments yet
Contribute on Hacker News ↗