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

I agree. The double syntax bothers me more than anything else that we've been discussing. Whatever the decision in the end, I'd rather have a single syntax with more indentation OR @nest so that avoids all confusion when reading CSS code at a glance. 

Then, I don't mind more indentation and I don't hate the "@" suggestion from @mirisuzanne above. My only gripe with @ is that it's already used to start special keywords like @media and @keyframes. What about ">"? It must have been suggested before, has it?

```scss
div {
    color: blue;
    > table td & {
        color: orange;
    }
} 
```

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


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

Received on Tuesday, 28 September 2021 20:24:18 UTC