[csswg-drafts] Allow to write css class inside an other class (like less) (#6713)

YglesEyes has just created a new issue for https://github.com/w3c/csswg-drafts:

== Allow to write css class inside an other class (like less) ==
Hi all,
I open an issue on this subject because I didn't find it but perhaps I missed it...

It should be nice if we can write CSS class inside an other class like LESS manage it.

### For example:

``` css
#card {
  background: red;
}
#card.disable {
  background: grey;
  color: black;
}
``` 
### become:

``` css
#card {
  background: red;

  .disable {
    background: grey;
    color: black;
  }
}
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6713 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 16:05:34 UTC