Re: Gradient color

> 
> Is there any way to specify a gradient fill (as the color) for a document
> object?
> 
> For example:
> 
> BODY {
> color: red, green, horizontal;
> }

Not for the moment in a single property as shown. But I agree with you
it could be very useful and remove a lot of ugly calls to a background
image. I've already proposed the CSS+FP WG chair to discuss this topic
for CSS 3.

It could use a new functional notation for colors gradient() having
your three arguments : two colors and an angle. For instance :

  background-color : gradient(<color>, <color>, <angle>)

I am quite sure that background gradient colors can be handled by
browsers (well, even PowerPoint can do it !-) but I wonder if
foreground colors of this kind are not too complex or too dangerous
for performances to implement...

</Daniel>

Received on Sunday, 10 May 1998 01:20:21 UTC