RE: Shadow knockout

Is this the effect you're looking for:
http://mobiletest.host.adobe.com/csstest2/shadow_test.html

If so, you can't do it with the current box/text-shadow implementation but it might become part of CSS filters...

> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
> Behalf Of Rudolph Gottesheim
> Sent: Wednesday, January 26, 2011 5:01 AM
> To: www-style@w3.org
> Subject: Shadow knockout
> 
> I'm missing a way to define if I want an element to knock out its own box-
> shadow. If I define { box-shadow: 10px 10px 10px #000;
> background-color: rgba(255, 0, 0, .5); }, I can't see the top left corner of the
> shadow.
> 
> Maybe something like 'box-shadow-knockout: knockout' could work.

Received on Wednesday, 26 January 2011 22:04:04 UTC