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

On 06/09/2011 09:25 AM, Sylvain Galineau wrote:
> Why shouldn't top mean 'towards the top' and right 'towards the right' so
> that transitioning from top to right is equivalent to going from 0deg to 90deg
> on a bearing compass ? That seems perfectly coherent to me.

Because if my gradient has a fixed length (which is reasonably common for creating
edge effects via background-image), the "towards the top" interpretation would
place it at the bottom of the box.

I think *that* is counter-intuitive.


Received on Thursday, 9 June 2011 03:41:13 UTC