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

I prefer the combination of @nest and ampersand. To me it feels like the easiest transition from using SCSS. I don’t mind using `& .child` (with the space in between), because I am already used to doing things like `& .child1, & .child2` in SCSS. I honestly don’t know if that is necessary or not in SCSS when using selector lists, but it always feels safer and more clear. Using `@nest` Only would be be too cluttered IMO. I’ve tried to warm to the idea of using bare curly braces, but I think it would be harder to get used to, and more prone to error: I think it would be harder to spot the places where I left them out accidentally. 

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


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

Received on Friday, 19 August 2022 15:17:41 UTC