Re: [csswg-drafts] [css-nesting] Conflicts in proposal with Sass/Less (#2937)

> I would probably make @nest mandatory to make it explicit, but the current spec allows to use @nest for every nested rule anyway.

Please don't make `@nest` mandatory if it doesn't have to be. It adds unnecessary noise to a CSS rule. CSS will look cleaner without it.

It can be a differentiating factor for preprocessors. If the rule has `@nest` use native nesting, else use preprocessor nesting.

I suspect people will make `@nest` mandatory through css linting tools but it shouldn't be mandatory at the language level if it doesn't have to be.

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


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

Received on Saturday, 12 June 2021 22:23:26 UTC