Re: [csswg-drafts] [css-nesting] Syntax suggestion (#4748)

Since this is on the agenda for today and I can't join, I'll post my thoughts here:

While the current spec is not ideal (authors basically want Sass-style nesting), it's far, **far** better than any of the other solutions posted here. `@nest` all the time would make stylesheets tedious to write and noisy to read, and the brackets would make them highly nested, and would need horizontal scrolling to read. 

I have been using the current syntax very extensively through PostCSS and it works well. I very rarely need to use `@nest` at all, in nearly all cases it's just `&`. I'd propose we stop trying to fix something that isn't broken, and just close this issue. We've explored the design space sufficiently, and there doesn't seem to be nothing better that satisfies the parsing constraints. 

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4748#issuecomment-1225890210 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 24 August 2022 15:35:26 UTC