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: Fri, 09 May 2008 00:13:01 +1000
Message-ID: <48230A6D.1070908@css-class.com>
To: Brad Kemper <brkemper@comcast.net>
CC: "www-style@w3.org list" <www-style@w3.org>, Eli Morris-Heft <dai@doublefishstudios.com>

Brad Kemper wrote:

>> Hi Brad, can you please explain how you can give a negative value for 
>> a blur? I not understanding or seeing.
>>
>>
>> Alan
>>
> 
> You'd have to read what I wrote above that. But I will give an example:
> 
> What I am suggesting is that if that if you have, for instance, 4px for 
> the blur value of box shadow, then it is a 4px blur on an outer shadow, 
> as it is now in Webkit. But if you specify a -4px blur value then it 
> would be interpreted as a 4px blur on an inner shadow. So the blur is 
> still 4px wide, but the negative sign indicates that it goes on the 
> inside and not the outside.


Understanding, Thank you. How about:

4px(inner)
4px(outer)

and

4px

for a even blur.


Alan
Received on Thursday, 8 May 2008 14:13:54 GMT

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