Re: [css3-background] box-shadow syntax

So, finally, I've made a diagram showing how this might could be done.
It can be seen here:

The object is a lime star with a blue semi-transparent circle behind.
The shadow map is the alpha channel. black is fully visible and white is
The color map is the colors without the alpha on.

The mix is simply: You simply change the alpha-value of the color-map and
then apply some darkness to it. (of course depending on how the shadow map
Opacity is quiet obvious...
...and so is blur.

Applied is show how it will look in the UA.


But I'm pretty sure the mix part can be done in a much smarter way, I just
can't seem to figure it out, maybe David Hyatt knows more about that. (as
you said Alan)

-Henrik Hansen

Received on Sunday, 11 May 2008 14:04:35 UTC