W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: [css3-background] border-radius color transitions using gradients recommended but undefined

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 26 Jan 2010 09:51:58 -0800
Cc: Sylvain Galineau <sylvaing@microsoft.com>, "www-style@w3.org" <www-style@w3.org>, Andrew Fedoniouk <news@terrainformatica.com>, Zachary Weinberg <zweinberg@mozilla.com>, Brian Manthos <brianman@microsoft.com>
Message-Id: <9E1FEACC-2AA3-46BF-8825-07175CD302F1@gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
I just tried this, and the best result, IMO, comes from not letting any one corner radius exceed the size of the padding box.

On Jan 25, 2010, at 9:39 PM, fantasai wrote:

> [1] See, for example, border-top-right-radius: 100%. Pick different
> colors for each side and some thick widths so you can see what's going
> on. If we take the (fairly reasonable, imho, though unrequired)
> invariant that the left and right border colors must never be directly
> adjoining, and follow the rule about the center of color transitions
> given in the spec, the result is not going to be a simple conic gradient,
> whatever it is.

Received on Tuesday, 26 January 2010 17:52:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:31 UTC