W3C home > Mailing lists > Public > www-style@w3.org > August 2008


From: Stephen <w3mail@jixor.com>
Date: Sat, 02 Aug 2008 16:27:33 +1000
Message-ID: <4893FE55.3060105@jixor.com>
To: www-style@w3.org
Everyone will have surely noticed the prevalence of simple gradients all 
over sites these days, it seems that a more sensible way of creating 
graduated backgrounds would be via css. This would be quicker, easier 
and scale better than raster graphics.

If could work such as (to produce a black to white effect)

background-color:#000 #FFF;

or such as this for a rainbow gradient.

background-color:#F00 #FF0 #0F0 #0FF #00F #F0F;

radial gradients could also be rendered with

Maybe background position could be used to change the center point.

I don't think any more control over the gradients appearance would be 

Received on Saturday, 2 August 2008 06:28:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:39 UTC