W3C home > Mailing lists > Public > www-style@w3.org > May 2008

Re: [css3-background] box-shadow syntax

From: Henrik Hansen <henrikb4@gmail.com>
Date: Mon, 12 May 2008 20:30:21 +0200
Message-ID: <dd12cf660805121130i76ba60efveaa719d6df8a4835@mail.gmail.com>
To: www-style@w3.org
Brad Kemper wrote:

> Here is my mockup:
>
> http://bradclicks.com/cssplay/Shadows.html
>


Great! It also seems to be a hacky way of making outlines ;-)

---

Yet we still need to decide how to handle my ideas about 'shadow-mask' and
'shadow-transmittance'.
Something like
 shadow-mask: none|mask;
 shadow-transmittance: none|color|opacity|all;

'shadow-mask' should be obvious. If the shadow is under the object it's not
drawn there.

The 'color' value makes the shadow transmit all colors, so instead of a
black shadow it's a colorful shadow. Opacity is ignored!
'opacity' makes the UA ignore colors. Opacity makes the shadow more bright.

If you think my idea is unnecessary or you have some additions, please write
them here, after all this is what these mailing lists are for.

---

On another topic: What could we use multiple shadows for? It can be hacked
to make a glow, but wouldn't it be more "correct" to make a 'glow' property?

-Henrik
Received on Monday, 12 May 2008 18:30:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:06 GMT