W3C home > Mailing lists > Public > www-style@w3.org > June 2010

Box-shadow and simulating stacked layers

From: Zack Weinberg <zweinberg@mozilla.com>
Date: Wed, 9 Jun 2010 09:15:39 -0700
To: W3C Emailing list for WWW Style <www-style@w3.org>
Message-ID: <20100609091539.3cf374a2@trurl>
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.


(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.)

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:47 UTC