Re: [css3-background] box-shadow syntax

Brad Kemper wrote:
> 
>>>> The syntax I've drafted allows you to have both at the same time, but
>>>> you have to set them together.
>>> What does that look like in this syntax? Or do you mean you would add 
>>> another keyword to add as well for "outer"?
>>
>> In the current syntax you can have both like this:
>>  box-shadow: 3px 3px, inset 3px 3px;
>> because the keyword is associated with each shadow, not with the entire
>> property.
> 
> OK, I see, then you are using multiple shadows. But then I don't 
> understand the part about "maybe they should be separate properties so 
> they can be set independently". If you are using multiple shadows, 
> wouldn't they be able to be set independently regardless of whether 
> "inset" (or "inner") is a value of a separate sub-property than "outer"?

If they were separate properties, it'd look like this instead
(substitute whatever names seem appropriate):

   box-shadow: 3px 3px;
   inset-shadow: 3px 3px;

~fantasai

Received on Tuesday, 19 August 2008 16:09:30 UTC