Re: [css3-background] center of corner transitons

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 UTC