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

Re: Gradient syntax proposal

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 14 Aug 2009 18:42:11 -0700
Message-Id: <BAEDB053-D0EA-48D5-834B-C1993A71AD4B@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>

Sent from my iPhone

On Aug 14, 2009, at 5:12 PM, "Tab Atkins Jr." <jackalmage@gmail.com>  

> would be equivalent
> to linear-gradient(10px 10px to right 10px bottom 10px / white black)

I have no idea what that would look like. What does 10px bottom 10px  

> which is equivalent to linear-gradient(10px 10px to calc(100% - 10px)
> calc(100% - 10px) / white black)

Holy Mackeral! My head is going to explode! Who needs that much  
complexity? If I stare at this long enough I see that it starts 10px  
from top, 10px from left, and ends the same distance from the bottom  
right, correct?so why not this instead:

Gradient(top-left / white 14px, black calc(100% - 14px))

Received on Saturday, 15 August 2009 01:43:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC