3 ms·
The best design tip I've picked up in the last five years was that sometimes, in your CSS definitions, you can use #555 or #777 or even #333, and not just black
by danso 14y ago
The best design tip I've picked up in the last five years was that sometimes, in your CSS definitions, you can use #555 or #777 or even #333, and not just black.
I don't mean that I didn't know you could enter hex numbers for colors, I just didn't realize that when I wanted a "black" border, #888 makes for a much less jarring border than #000...and this is critical if you have a lot of bordered elements.
- gmac 14y agoYes -- and for borders it's arguably still black, just thinner, since a 1px line at 50% black could be an aliased representation of a 0.5px line at 100% black.