W3C home > Mailing lists > Public > www-style@w3.org > May 2004

RE: Colour gradient backgrounds.

From: Ernest Cline <ernestcline@mindspring.com>
Date: Mon, 10 May 2004 11:51:47 -0400
Message-ID: <410-22004511015514762@mindspring.com>
To: (wrong string) éonie Watson" <lw@nomensa.com>, www-style@w3.org




> [Original Message]
> From: Léonie Watson <lw@nomensa.com>
>
>     Would it be possible to introduce a style definition for displaying a
> colour gradient as the background for an element?

Yes, and possibly for other things as well.

>     Perhaps the definition could be something along the lines of:
>
> background-gradient: #000000 #ffffff top
>
>     where the first number is the start colour, the second is the end
colour
> and the position (top) would be the aspect of the element the gradient
would
> begin from.
>
>
>     I'm aware that the combined knowledge and expertise on this list is
> considerable compared to my own, so please accept my apologies if this
> suggestion is misplaced or unreasonable.

I could see supporting simple gradients, but would favor indicating the
direction of the gradient using the keywords "tb" and "lr" (and possibly
"rl" and "bt" as well, altho they would be redundant) as they are already
in use to indicate this sort of directionality in the 'block-progression'
property.
Received on Monday, 10 May 2004 11:51:57 GMT

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