Re: DRYing up media queries

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