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

Re: Gradients in CSS3?

From: Laurens Holst <lholst@students.cs.uu.nl>
Date: Mon, 15 Aug 2005 16:25:20 +0200
Message-ID: <4300A5D0.3070403@students.cs.uu.nl>
To: Orion Adrian <orion.adrian@gmail.com>
Cc: www-style@w3.org

Orion Adrian schreef:
>>background-color: gradient(blue, white, 0, 0, 100%, 100%);
> How much of this desire to put it into CSS is because nobody wants to
> implement SVG and/or nobody thinks authors will learn SVG just to get
> gradients?

SVG means that separate image files have to be used, while for many 
cases one single line of CSS could suffice. This syntax is a bad 
example, but I think Ben Wardís gradient(start-color, end-color, 
direction) is a very good suggestion.

I mean, we theoretically donít even need background-color because we can 
specify an image which has the appropriate colour as well... Would that 
be practical, or efficient? Not really...


Ushiko-san! Kimi wa doushite, Ushiko-san nan da!!
Received on Monday, 15 August 2005 14:26:25 UTC

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