CSS Shorthand

Monday, November 11th, 2002 at 2:22 PM | Category: Meryl's Notes Blog No comments

The first thing I learned about streamlining CSS is taking six-digited repeated colors and turning them into three digits such as #000000 (black) becomes #000, #ffffff (white) is #fff, #6699cc (bluish something) is #69c, and #ffcccc (link) is #fcc. However, it won’t work on #e07d80, #ffffc6, or #e8e8e8.

There are more ways to shorten CSS coding as demonstrated in CSS shorthand properties.

Tags:

Subscribe to this here blog: RSS or E-mail

Post a comment (or leave a trackback)

RSS Subscribe to be notified when new comments are added.


Get Updates