W3C home > Mailing lists > Public > www-style@w3.org > January 2011

RE: Shadow knockout

From: Rik Cabanier <cabanier@adobe.com>
Date: Wed, 26 Jan 2011 14:03:29 -0800
To: Rudolph Gottesheim <r.gottesheim@loot.at>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <8A13F0222395BD428969E5BA529EFA74776732FF63@NAMBX01.corp.adobe.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:36 GMT