W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: DRYing up media queries

From: Simon Sapin <simon.sapin@exyr.org>
Date: Wed, 29 May 2013 11:16:04 +0800
Message-ID: <51A572F4.1000507@exyr.org>
To: Chris Eppstein <chris@eppsteins.net>
CC: "L. David Baron" <dbaron@dbaron.org>, Yoav Weiss <yoav@yoav.ws>, www-style list <www-style@w3.org>
Le 29/05/2013 02:01, Chris Eppstein a écrit :
> Instead of being media-specific, it could be a type of variables that
> are more sass-like and replaced at parse time instead of run-time.

Yes. I believe we’ve discussed "macros" that could be expanded not just 
in property values but in any context, including selectors and MQs.

But we’ll have to see what scoping rules we want for such macros, and 
whether it makes sense to have them expanded in HTML media attributes.

Simon Sapin
Received on Wednesday, 29 May 2013 03:16:42 UTC

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