Readit News logoReadit News
jhughes982 commented on WebKit Supports Nested CSS   webkit.org/blog/13813/try... · Posted by u/gslin
cunningfatalist · 3 years ago
I am not a big fan of nesting. I have yet to see a codebase where nesting makes CSS more readable. Even with BEM, I find it easier to reason about (and debug) the vanilla style. However, I must admit that `&:hover{}` does have a certain appeal. Also, I am very happy that nesting can be done without tooling in the future. It's a feature that many people love.
jhughes982 · 3 years ago
I agree, for some reason my brain sees the non-nested versions of CSS as more readable. Although we seem to be in the minority here. Very open to trying out nesting and perhaps my brain will 'flip' to eventually prefer it.

u/jhughes982

KarmaCake day1February 16, 2023View Original