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 13:37:12 +0100
Message-ID: <4BA76478.5020709@disruptive-innovations.com>
To: "www-style@w3.org" <www-style@w3.org>
Cc: David Hyatt <hyatt@apple.com>
Le 22/03/10 12:38, Daniel Glazman a écrit :

> 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?

Nevermind, I really need vacation...

</Daniel>
Received on Monday, 22 March 2010 12:37:43 GMT

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