Re: CSS3 Borders: box-shadow opacity

On 5/13/03 9:40 PM, "Claus Wahlers" <claus@ego7.com> wrote:

> 
> hi list,
> i can't specify a initial opacity for box-shadows.
> suggestion:
> 
> 1. extend box-shadow:
> none | 
> [ <length> <length> <length>? || <opacity> || <color> ]
> [ , <length> <length> <length>? || <opacity> || <color> ]+
> where allowed values for <opacity> are:
> none | transparent | <percentage>
> 
> 2. introduce box-shadow-opacity
> none | transparent | <percentage>
> 
> does that make sense?

You don't need to introduce a new property.

<color> now allows for alpha.

 http://www.w3.org/TR/2003/CR-css3-color-20030514/#rgba-color

Tantek

Received on Wednesday, 14 May 2003 02:25:43 UTC