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

Re: [css3-background] proposed box-shadow syntax

From: Alan Gresley <alan@css-class.com>
Date: Sat, 10 May 2008 15:39:57 +1000
Message-ID: <4825352D.8070202@css-class.com>
To: Brad Kemper <brkemper@comcast.net>
CC: Eli Morris-Heft <dai@doublefishstudios.com>, "www-style@w3.org list" <www-style@w3.org>

Brad Kemper wrote:

> 6. box-shadow: 2px 2px 6px 1px red;       /* same as #1 above, but with 
> a 1px spread */
> 7. box-shadow: 6px 6px 2px 1px green;       /* same as #5 above, but 
> with a 1px spread */


Ok, I code.


box-shadow: 6px green;


but I tell you that for implementations that support spread, I would 
want a different type blur. So like.

box-shadow: 6px 6px 6px green;  /* 6px blur, not supporting spread */
box-shadow: 6px 6px 2px green; /* two pixel blur and spread */


Having four value before the color is overloading the that part of the 
declaration.


Alan
Received on Saturday, 10 May 2008 05:40:51 GMT

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