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.
Subscribe:

Post a comment (or leave a trackback)