Re: [csswg-drafts] [css-nesting-1] Allow relative selector syntax in `@nest` rules. (#7854)

@romainmenke Yeah, so in option 3 you could just write

```
.foo {
  > .bar {
    /* & > .bar */
    /* .foo > .bar */
  }
}
```

and in option 4 it would be

.foo { } {
  > .bar {
    /* & > .bar */
    /* .foo > .bar */
  }
}
```

or

```
.foo && {
  > .bar {
    /* & > .bar */
    /* .foo > .bar */
  }
}
```


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


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

Received on Wednesday, 26 October 2022 13:30:22 UTC