Re: [csswg-drafts] [css-nesting] Conflicts in proposal with Sass/Less

Would it be possible to satisfy the ambiguity of the BEM case with a function variant.

```
.a, b {
        &(--c) {}
        & --d {}
}
``` 

yeilds

```
:matches(.a--c, .b--c),  :matches(.a, .b) c {}
```

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

Received on Thursday, 19 July 2018 20:57:45 UTC