Re: Gradient color

>> >  background-color : gradient(<color>, <color>, <angle>)
>>
>> It would probably be more useful with some indication of the extent of
each
>> color, i.e., percent.
>>
>> background-color : gradient(<color>, <extent>, <color>, <extent>,
<angle>)
>
>I don't understand : isn't the rgb(r%, g%, b%) functional notation for
>colours enough ? All <color>s here can be replaced by a call to this
>notation (section 4.3.6 of CSS 2).


I was thinking of something along the lines of,
gradient(#002040, 15%, #004020, 85%, 0),
rendering a dark blue into a dark green background with a vertical split
(zero degrees) where the transition between the two is at the 15/85 percent
mark of the canvas.

later,
gordon

Received on Sunday, 10 May 1998 01:51:40 UTC