By bloid
via blog.wired.com
Submitted: Apr 30 / 15:26
Ever wished you could use variables in your stylesheets? Well, what may be the number one most requested feature for the next generation of CSS, finally has a formal proposal. The spec, put forth by Apple's David Hyatt and and Daniel Glazman of Disruptive Innovations, would allow web designers to use variables in stylesheets.
Comments
amphi replied ago:
The proposal lacks math ops. And that's one of the primary reasons why I want variables in first place.
Things like:
right:235px; /* LC fullwidth + CC padding */
are really bad and goddamn annoying to update. Especially if there are dozens of those lines.
Voters For This Link (3)
Voters Against This Link (0)