public marks

PUBLIC MARKS from greut with tags color & community

09 April 2008 13:15

CSS Variables

Since the release of CSS Level 2 Recommendation ten years ago in may 1998, the Web authors' community has been requesting a way of defining variables in CSS. Variables allow to define stylesheet-wide values identified by a token and usable in all CSS declarations. If a value is often used in a stylesheet - a common example is the value of the color or background-color properties - it's then easy to update the whole stylesheet statically or dynamically modifying just one variable instead of modifying all style rules applying the property/value pair.

w00t!

greut's TAGS related to tag color

accessibility +   blog +   community +   css +   design +   example +   osx +   painting +   rules +   software +   tool +   trend +   UED +   w3c +   WAI +   web +