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

Re: [css3-background] center of corner transitons

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 01 Jun 2010 18:43:25 -0700
Message-ID: <4C05B73D.1080406@inkedblade.net>
To: Masataka Yakura <myakura.web@gmail.com>
CC: www-style list <www-style@w3.org>
On 05/27/2010 08:34 PM, Masataka Yakura wrote:
> In http://dev.w3.org/csswg/css3-background/#corner-transitions it says:
>
>> and if the top is twice the width of the right the point is at a 30°
>> angle from the horizontal.
>
> Isn't the angle 60°?

No. The idea is to weight the transition point to be farther from the
thicker border, so that the amount of transition space is proportional
(not inversely proportional) to the thickness. This makes the most
sense if you think about extreme cases like 10px to zero, or 10px to
1px. You want the transition to be close to (or at) the thin edge.

~fantasai
Received on Wednesday, 2 June 2010 01:44:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:28 GMT