W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

[csswg-drafts] [css-variables] shortening `prop: var(--x); ` to `props: --x; `

From: Cyril Auburtin via GitHub <sysbot+gh@w3.org>
Date: Fri, 15 Dec 2017 15:27:51 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-282461638-1513351670-sysbot+gh@w3.org>
caub has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-variables] shortening `prop: var(--x);` to `props: --x;` ==
It should be non-ambiguous when then CSS variable is defined (on the left of `:`) or used

so this would be really great to have:
```css
:root {
  --x: blue;
}
div > span {
  color: --x;
}
```



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2111 using your GitHub account
Received on Friday, 15 December 2017 15:27:54 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:41 UTC