- From: Adam Argyle via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Oct 2020 17:53:39 +0000
- To: public-css-archive@w3.org
argyleink has just submitted a new pull request for https://github.com/w3c/csswg-drafts:
== [css-nesting-1] initial idea for nested conditionals ==
[css-nesting-1]
This PR adds a section on nesting conditionals and provides a small set of examples to get the conversation started.
**Example**
```css
.foo {
display: grid;
@media (orientation: landscape) {
& {
grid-auto-flow: column;
}
}
}
/* equivalent to */
.foo { display: grid; }
@media (orientation: portrait) {
.foo {
grid-auto-flow: column;
}
}
```
fixes https://github.com/tabatkins/specs/issues/56
See https://github.com/w3c/csswg-drafts/pull/5645
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 21 October 2020 17:53:41 UTC