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

Re: [css3-background] New use case for background-position-x (&y!)

From: Simon Fraser <smfr@me.com>
Date: Wed, 10 Nov 2010 16:40:48 -0800
Cc: Lee Kowalkowski <lee.kowalkowski@googlemail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Brad Kemper <brad.kemper@gmail.com>, Markus Ernst <derernst@gmx.ch>, "www-style@w3.org" <www-style@w3.org>
Message-id: <2A6CEACD-4F2B-4C56-9E9F-24B78AD4000B@me.com>
To: Behdad Esfahbod <behdad@behdad.org>
On Nov 10, 2010, at 4:32 PM, Behdad Esfahbod wrote:

> Would CSS3 transitions and animation be good reasons to allow separate control
> of -x and -y background-position?  Being able to control -x and -y separately
> allows for, eg, a parabolic background position change whereas without, you
> are stuck with linear.

Yes, if you wanted a different duration or timing function on the horizontal movement
than the vertical movement, you'd need two properties.

This is an issue with all compound properties, not just background-position.

Simon
Received on Thursday, 11 November 2010 00:41:47 GMT

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