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

Re: [css-variables] feedback

From: <raees@thewebsmith.co>
Date: Sun, 12 Jul 2015 15:59:26 +0000
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <E1ZEJf2-00019g-Hv@lisa.w3.org>
To: "Tab Atkins Jr. " <jackalmage@gmail.com>
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:15:14 UTC

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