Re: media query definitions

@Tab, do you by any chance have a reference to the recent thread in which
this was discussed?

Cheers,
Behrang Saeedzadeh
http://www.behrang.org


On Sat, Jun 22, 2013 at 10:25 AM, David Newton <david@davidnewton.ca> wrote:

> On 2013-06-21, at 5:00 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>
> On Fri, Jun 21, 2013 at 7:58 AM, Behrang Saeedzadeh <behrangsa@gmail.com>
> wrote:
>
> It would be nice, if there was a way to define a media query, and use it in
> multiple @media blocks:
>
> @media-def #my-media only screen and (max-width: 480px), only screen and
> (max-device-width: 480px), etc.;
>
> @media(#my-media) {
> /* css rules */
> }
>
> The syntax can of course be totally different.
>
> This would eliminate some duplication where there are multiple media query
> blocks in various CSS files that target the same device, etc.
>
> What do you guys think?
>
>
> Yup, this was very recently discussed favorably.  We want to add some
> way to make an author-extensible Media Query.
>
> ~TJ
>
>
> Given the positive response to this, what would the next steps be? The
> Responsive Images Community Group (http://responsiveimages.org/) is very
> interested in this, and we'd be happy to help in any way we can.
>
> Dave
>

Received on Sunday, 23 June 2013 13:17:45 UTC