See all Insights

An idea whos time has come.

Safari now supports CSS Variables. Well… the latest nightly build of WebKit does. Too bad itll be years before all the other browsers support it, and years from then before everyone is using a version of those browsers that support it. Still, this is progress towards something that would be incredibly useful.

Example of CSS variables in use:

@variables {
CorporateLogoBGColor: #fe8d12;

div.logoContainer {
background-color: var(CorporateLogoBGColor);

Related Posts