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

Re: [css3-transitions] Adding keyframes to transitions

From: Brad Kemper <brad.kemper@gmail.com>
Date: Wed, 7 Apr 2010 10:13:25 -0700
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-Id: <53DB1A77-94B2-4D72-86CB-CFDD44F4B16F@gmail.com>
To: Perry Smith <pedzsan@gmail.com>

On Apr 7, 2010, at 9:43 AM, Perry Smith wrote:

> 
> On Apr 7, 2010, at 11:34 AM, Tab Atkins Jr. wrote:
>> 
>> .slider > .box {
>>  left: 0;
>>  transition: left 1s play(bounce 1s);
>> }
> 
> If I understand this right, both would happen at the same time.  

Yes, that's the use case. Bounce up and down, while sliding sideways, and bounce when the transition reverses too.

Aside: I think if the bounce involved 'left', then it would be overridden by the 'left' in the transition-property. At least, that makes the most sense to me.




Received on Wednesday, 7 April 2010 17:14:06 GMT

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