Box-shadow and simulating stacked layers

Since we're talking about box-shadow again, I thought I'd point out
this critique of the current box-shadow definition for one specific
use: producing shadows consistent with an illusion of depth.

http://www.pamgriffith.net/blog/complex-uses-of-css3-box-shadow

(Shorter: to do illusion of depth correctly, you may need to adjust the
spread of the box-shadow cast by an edge somewhere in the middle of the
line.  You currently can't do that without introducing additional
elements in the HTML, and even then it's not quite right.)

zw

Received on Wednesday, 9 June 2010 16:16:14 UTC