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

I'd be happy with that solution as well. Just to make sure we cover all bases though, I've got one more syntax proposal that sort of builds on that, but also uses a pattern I haven't seen anyone raise yet. It avoids double-indenting _and_ allows bulk-nesting in one diabolical swoop:

```scss
ul.parent {
    padding-left: 0;
}, @nest { // or perhaps [ or (

    // ul.parent li.child
    li.child {
        list-style-type: none;
    }

    // .wysiwyg ul.parent
    .wysiwyg & {
        list-style-type: initial;
    }
}
```

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


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

Received on Monday, 4 October 2021 19:02:28 UTC