Re: [mediaqueries] User-defined Media Queries?

On Fri, May 31, 2013 at 11:53 AM, Chris Eppstein <> wrote:
> I don't think we need to move away from the property/value pair syntax that
> is already in use:
> @media (name: huge) or (name: medium) { ... }

This wouldn't be - I was assuming that a string would be the media
query name, and you can assign any string value
and test for it in the media query, like:

<script> = "bar";
@media ("foo": "bar") { ... }

But a bare string, just like a bare media query, would match if the
value was true only.


Received on Friday, 31 May 2013 19:27:16 UTC