Re: WebKit now supports CSS Variables

David Hyatt wrote:
> 
> WebKit now has an experimental implementation of CSS variables as 
> outlined here:
> 
> http://disruptive-innovations.com/zoo/cssvariables/
> 
> You can test this feature using a nightly from:
> 
> http://nightly.webkit.org/
> 
> Test cases can be found here:
> 
> http://trac.webkit.org/browser/trunk/LayoutTests/fast/css/variables
> 
> dave
> (hyatt@apple.com)


Dave

Can this be done?

@variables {
   LogoBG / color: #fe8d12;
   LogoBG / background-image: url(logo.png);

}

div.logoContainer {
   background: var(LogoBG);
}


Alan

Received on Tuesday, 24 June 2008 10:13:55 UTC