W3C home > Mailing lists > Public > www-style@w3.org > October 2001

Re: Proposal: box-shadow

From: Etan Wexler <ewexler@stickdog.com>
Date: Mon, 1 Oct 2001 23:32:43 -0500
To: Web style list <www-style@w3.org>
Message-Id: <20011002032544.073127416@server3.safepages.com>
Bert Bos wrote:

> Bjoern Hoehrmann writes:
> 
>> The box-shadow property
>> 
>>   Name:            box-shadow
>>   Value:           none | [ <length> <length> <color>? ]
>>   Initial:         none
>>   Applies to:      all block-level elements
>>   Inheritet:       no
>>   Percentages:     N/A
>>   Media:           visual
>>   Computed value:  specified value (except for 'inherit')
> 
> I like it and I'll propose it to the CSS WG ...

I suggest that we add an optional blur radius component and the 
possibility of multiple shadows, as with 'text-shadow':

Value:        none | <shadow> [ , <shadow> ]*

where <shadow> is
[ <length> <length> <length>? <color>? |
  <color> <length> <length> <length>? ]

If the box-shadow color is left unspecified, should it take the 
computed value of the element's 'color' property?

-- 
Etan Wexler
Received on Monday, 1 October 2001 23:25:46 GMT

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