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

On May 9, 2008, at 10:39 PM, Alan Gresley wrote:

> 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.

Well, box-shadow is still in draft status, so we can simply say that  
supporting box-shadow means supporting spread.

Properties preceded with -webkit- are subject to change, and subject  
to breakage when they change.

>
>
> 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.

I respectfully disagree.

>
>
>
> Alan
>
>
>
>

Received on Saturday, 10 May 2008 17:37:26 UTC