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

Re: [css3] Suggestion: Selector variables or “synonyms”

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 9 Jul 2012 13:38:49 -0700
Message-ID: <CAAWBYDCrdJ93P280ZKzKv9ZfiMXafLJxwJPhVvmnE3Vmg=tvHA@mail.gmail.com>
To: "Jens O. Meiert" <jens@meiert.com>
Cc: www-style@w3.org
On Fri, Jul 6, 2012 at 12:05 PM, Jens O. Meiert <jens@meiert.com> wrote:
>> [3] http://meiert.com/en/blog/20080207/selector-variables/
> Though I think I’ve phrased the original suggestion rather poorly, I
> still believe in the value of variables for selectors.
> Keeping this quite brief, are there any plans to extend the Variables
> Module in this regard? What would be needed to consider an addition?

I stick with what I said originally in this thread.  The CSS Variables
spec isn't intended to address this type of use.  I'd like to address
the use-case (reusing blocks of code in multiple places), but it might
not be through this precise mechanism - SASS's @extend offers very
similar functionality, and its Mixins essentially provide an inverted
form of this functionality.

I still haven't picked up enough bandwidth to deal with this right now, though.

Received on Monday, 9 July 2012 20:39:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:18 UTC