«« Next » « Previous
«« Next » « Previous

Link Details

Link 78617 thumbnail

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.
  • 3
  • 0
  • 47
  • 13

Comments

Add your comment
User 239201 avatar

amphi replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (0)