[thelist] Understanding CSS with 3 digit colors ?
ted serbinski
tss24 at cornell.edu
Wed Aug 20 14:30:46 CDT 2003
> Would someone please explain to me why people
> are defining colors with only 3 hex numbers? For example:
>
> A:hover {
> FONT-WEIGHT: 900; COLOR: #555; Font-Size: 10px;
> }
This is merely short hand notation. #990000 = #900, #555555 = #555, and so
forth. I suppose if you are defining a bunch of different colors this 3
character savings could add up, but otherwise, I don't see any need to use
one way over the other, just personal preference.
Hope that helps,
ted
More information about the thelist
mailing list