Re: Colour gradient backgrounds.

Ernest Cline wrote:
> However, I don't like the idea of piggybacking onto 'background-color'.
> It will not be desirable to make gradients something generic to <color>.
> if gradients are introduced in CSS, they should be done with a new
> property (or properties) rather than complicating the definition of an
> existing property.

Then again, a gradient used for a background not using a 'background-*' 
property would be somewhat fuzzy. An example:

background-color:  #AABBCC;
background-image:  url(an_image.gif);
'gradient-property': *rules go here*;


If a gradient property were introduced I feel it would be logical to do 
one of two things:

1. Make it a background-* property, background-gradient for example.
2. Implement gradients in the color module (altough this would cause 
problems in mixing in positioning traits in the color module.)


I still feel that gradients don't really belong in CSS though. PNG is 
fine for vertical and horizontal gradients, and SVG will do the rest. 
CSS based gradients might make things easier in some ways, but would 
they really promote usability and acessibility? Gradient use in general 
are seldom showcases of stellar design.


-- 
Max Romantschuk
http://max.nma.fi/

Received on Tuesday, 11 May 2004 01:19:32 UTC