- From: Stephen <w3mail@jixor.com>
- Date: Sat, 02 Aug 2008 16:27:33 +1000
- To: www-style@w3.org
Received on Saturday, 2 August 2008 06:28:32 UTC
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-style:gradient; 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 background-style:radial-gradient; Maybe background position could be used to change the center point. I don't think any more control over the gradients appearance would be necessary. Cheers, Steve.
Received on Saturday, 2 August 2008 06:28:32 UTC