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

Re: Gradients in CSS3?

From: Maniac <Maniac@SoftwareManiacs.Org>
Date: Mon, 15 Aug 2005 18:34:12 +0400
Message-ID: <4300A7E4.6000004@SoftwareManiacs.Org>
To: www-style@w3.org

Ben Ward wrote:

>>background-color: gradient(blue, white, 0, 0, 100%, 100%);
>You see, here kinda lies my point about complicating the syntax. What
>you've got there is a lot of inputs to that function and I don't know
>if that kind of complexity is in best the interests of CSS. It also
>doesn't specify a direction, so would require another value input as
While I think it does specify direction (from two first values to two 
second ones) but I got your point. Then may be just a list of keywords: 
'left-right', 'top-bottom', 'tl-br', 'bl-tr'. Just these four. They give 
direction and I think cover most use cases (well, may be not most but 
many). And flexibility, as you say, goes to SVG.

>That is far less flexible though, and I
>can't see that any user of CSS would have problem using degrees;
I'm talking about complexity for authors. CSS is mostly hand-written 
after all, and it's hard to count atan(57/143) in mind.
Received on Monday, 15 August 2005 14:35:10 UTC

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