3 ms·
None of them honestly. All of them are atrocious to type and parse for a human. The option 1 is probably the best but urgh
by di4na 4y ago
None of them honestly.
All of them are atrocious to type and parse for a human.
The option 1 is probably the best but urgh
- emn13 4y agoI think option 1 is the worst, because it's not actually optional; it's required precisely when css selectors become complex. That the kind of gotcha that just makes everything harder to explain and read. I hope the proposal fails entirely, and that no nesting syntax is adopted. It's not worth it, and nesting in SCSS is abused more often than not anyhow. There are a few exceptions like pseudo-elements and media queries that are always harmless, but most nesting is just asking for specificity gotchas later, or component refactoring surprises.