W3C home > Mailing lists > Public > www-style@w3.org > July 2015

Re: [css-variables] feedback

From: Michiel Bijl <michiel@agosto.nl>
Date: Thu, 23 Jul 2015 11:27:04 +0200
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>
Message-Id: <447CD0AA-E62F-45D9-BD85-1543BB72A8B9@agosto.nl>
To: raees@thewebsmith.co
Consistency with custom properties.

—Michiel

> On 12 Jul 2015, at 17:59, raees@thewebsmith.co wrote:
> 
> Is there a particular reason to prefer ‘--’ over ‘$’ for declaring variables? I mean,
> $color-headings: #444;
> h1{
> color: var($color-headings);
> }
> still looks better than
> --color-headings: #444;
> h1 {
> color: var(--color-headings);
> }


Received on Thursday, 23 July 2015 09:27:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:18 UTC