W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: Multiple assignment structure (suggestion)

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 27 Nov 2014 11:29:45 +1100
Message-ID: <54767079.8050007@mcc.id.au>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Felipe Nascimento de Moura <felipenmoura@gmail.com>, www-style <www-style@w3.org>
Tab Atkins Jr. wrote:
> selector 1,
> selector 2 {
>    var-main-color: #009;
>    color: var(main-color);
>    border-color: var(main-color);
> }

selector 1,
selector 2, {
   --main-color: #009;
   color: var(--main-color);
   border-color: var(--main-color);
}

You changed the syntax, remember. :)
Received on Thursday, 27 November 2014 00:30:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC