Hacker News new | ask | show | jobs
by newsio 6050 days ago
Excellent little demo.

Shows how long I've been out of touch with CSS. Didn't know stuff like variables or rounded edges was supported.

2 comments

The variables appear to be a SASS construct, not CSS.

http://en.wikipedia.org/wiki/Sass_(stylesheet_language)

SASS compiles to CSS.
And it inlines the variables as constants at 'compile time'.
Rounded corners are supported in Webkit Gecko and Presto, and not in Trident of course.

Variables are provided by SASS, a CSS pre-processor language/framework.