Re: transitions vs. animations

On Mar 19, 2010, at 4:30 PM, Håkon Wium Lie wrote:

> Simon Fraser wrote:
> 
>>> A better reason for having two different specs/property-sets would be
>>> if it makes sense have both on the same element. I.e., are there
>>> any use cases where you would set both a transition and an animation
>>> on the same element?
>> 
>> Yes, you could easily run a transition on one property of an
>> element while animating another, or apply an animation while an
>> element is in the middle of a long transition.
> 
> Could you show an example?

Sure
<http://smfr.org/misc/animation-transition.html>

(try in Safari 4.0.5 or a WebKit nightly).

Simon

Received on Friday, 19 March 2010 23:41:47 UTC