W3C home > Mailing lists > Public > www-style@w3.org > April 2015

Re: [mediaqueries] Use custom media queries in custom media query definitions?

From: Florian Rivoal <florian@rivoal.net>
Date: Wed, 15 Apr 2015 13:51:33 +0200
Cc: www-style list <www-style@w3.org>
Message-Id: <23179125-BCED-4207-AED9-FCE58F8D5C84@rivoal.net>
To: Glen Huang <curvedmark@gmail.com>
> 
> On 15 Apr 2015, at 13:33, Glen Huang <curvedmark@gmail.com> wrote:
> 
> Thank you.
> 
> Am I correct this is the difference between a false one and an undefined one?
> 
> @custom-media --true true;
> @custom-media --false false;
> @custom-media --circular (--circular);
> 
> @media (--false) or (--true) /* match */
> @media (--circular) or (--true) /* won't match */

Yes, that's correct.

 - Florian
Received on Wednesday, 15 April 2015 11:51:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC