News for hackers. Stuff that matters.
Re:Help choose the syntax for CSS Nesting by aliyfarah on Thursday December 15, 2022 @08:36PM (#34008429)
> Nesting is not a requirement for CSS.

Not a requirement because it’s not in the spec or because developers don’t need it? If the former, the proposal is to make it a requirement. After CSS grid, CSS nesting is probably the most requested feature of CSS for as long as I can remember for web devs. I only use sass these days for nesting and it would be nice if I didn’t need that extra dependency.

Re:Help choose the syntax for CSS Nesting by alwillis on Thursday December 15, 2022 @09:37PM (#34008991)
> I only use sass these days for nesting and it would be nice if I didn’t need that extra dependency.

Same. I'm using plain CSS on my current project while using the test implementation of option 3, using PostCSS plugins.

Re:Help choose the syntax for CSS Nesting by alwillis on Thursday December 15, 2022 @09:39PM (#34009018)
> Not a requirement because it’s not in the spec…

BTW, there is a spec [1].

[1]: https://drafts.csswg.org/css-nesting/