Skip to content

24 ways to impress your friends

Vote up?

Steve Clay

Since you might use the same color for two different “constants”, it’d be safer to append a comment to each value:

body {color : #ffffff /*mainTextColor*/; }
...
p {color: #ffffff /*secondaryTextColor*/; }

Now when you want to alter just the “mainTextColor” you’ll be able to do so w/ find/replace.