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

Re: [css3-background] box-shadow syntax

From: Alan Gresley <alan@css-class.com>
Date: Tue, 13 May 2008 16:45:02 +1000
Message-ID: <482938EE.8040702@css-class.com>
To: Brad Kemper <brkemper@comcast.net>
CC: Eli Morris-Heft <dai@doublefishstudios.com>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org list" <www-style@w3.org>

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


Brad, we can do this forever, go here, go there and really make the CSS 
WG more of an un-working group, we overload them with list messages.

Firstly we must see a big difference in 'box-shadow' and 'text-shadow'. 
Your inner outer proposal is merging three different things. The first 
two I have just mentioned and the later is 'border'.

Using just blur and a border I have emulated your spread (which I have 
called depth). View in Safari 3. Here with outer.

http://css-class.com/test/css/shadows/box-shadow-blur-offset-light.htm

And inner.

http://css-class.com/test/css/shadows/box-shadow-blur-offset-dark.htm


Any spread (depth) could be handled by the 'border' property alone with 
a gradient unless we really want to add this into 'box-shadow'.


The inner and outer way of looking at text-shadow (as in your examples) 
is great Brad but that should not be confused with box-shadow.


Alan
Received on Tuesday, 13 May 2008 06:46:00 GMT

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