W3C home > Mailing lists > Public > www-style@w3.org > February 2008

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

From: Jens Meiert <jens.meiert@erde3.com>
Date: Wed, 06 Feb 2008 17:55:58 +0100
Cc: www-style@w3.org
Message-ID: <20080206165558.15030@gmx.net>
To: "Philip Taylor (Webmaster)" <P.Taylor@Rhul.Ac.Uk>, daniel.glazman@disruptive-innovations.com

> > I am sorry but I don't understand at all your
> > 
> >   .old = .new
> 
> Isn't ".old = .new" just a convenient alternative
> to ".old, .new {}" ?

Exactly. The more occurrences and the longer the selectors, the more “convenient” though:

  .old = .new;
  .new {}
  .new, .somethingelse {}
  .new, .different {}
  .new, .whatever {}

-- 
Jens Meiert
http://meiert.com/en/
Received on Wednesday, 6 February 2008 16:56:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:01 GMT