W3C home > Mailing lists > Public > www-style@w3.org > March 2010

Re: [CSSWG] action 38, CSS Variables

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Mon, 22 Mar 2010 12:38:04 +0100
Message-ID: <4BA7569C.307@disruptive-innovations.com>
To: "www-style@w3.org" <www-style@w3.org>
Cc: David Hyatt <hyatt@apple.com>
Dave, I have a question related to @variables as we defined it and
media. Imagine the following sheet:

   @variables screen {
     bg: silver;
   }

   @variables print {
     bg: transparent;
   }

   @media screen, print {
     h1 { background-color: var(bg); }
   }

What's the background-color of an h1 here? How did you implement that?

</Daniel>
Received on Monday, 22 March 2010 11:38:36 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:25 GMT