W3C home > Mailing lists > Public > www-style@w3.org > June 2011

Re: [css3-images] linear-gradient keywords and angles are opposite

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 9 Jun 2011 20:44:29 -0700
Message-Id: <57A138F0-C8E0-40CA-AB61-CFD902282623@gmail.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Brian Manthos <brianman@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
To: Simon Fraser <smfr@me.com>
On Jun 9, 2011, at 5:04 PM, Simon Fraser <smfr@me.com> wrote:

> I think it's more intuitive for the keyword to describe the starting position of the gradient. It comes as the first parameter, so logically associates with the start of the gradient. Similarly, in the declaration it comes next to the first color stop, so mentally will be associated with that stop.
> linear-gradient(left, black, white)
> It just obviously a black->white gradient from left to right. Being right-to-left just hurts my brain.

I feel your pain. And then some. 
Received on Friday, 10 June 2011 03:45:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:50:02 UTC