24 ways to impress your friends

Jump to menu

Vote down?

Mike Papageorge

To follow from Fabrice, what you have in that first code snippet is not a constant but in fact a variable. Variables can change (they are variable), constants are constant.

Anyways, enough picking nits, CSS constants are very useful!!