Help us choose the syntax for CSS Nesting!

This article will walk you through the three options currently under consideration by the CSS Working Group. Read through them, and take a one question survey to weigh in.

#css #webdev #frontend

https://webkit.org/blog/13607/help-choose-from-options-for-css-nesting-syntax/

Help choose the syntax for CSS Nesting

The CSS Working Group is continuing a debate over the best way to define nesting in CSS.

WebKit

@jensimmons the way i see it is that the option 3 looks deceptively simple, but it's a pain for every new developer since it has this implicit rule of "don't start with an letter". The developer experience will not be great debugging issues. It would be better if & was required every time

I

@jensimmons

i chose option 5 because it explicitly shows something is different from what we are used to in sass, and i felt option 4 weird for having empty brackets. I see that nesting inside nesting will be a pain for @nest though