Re: [css3-transitions] Adding keyframes to transitions

On Apr 7, 2010, at 12:47 PM, Perry Smith wrote:

> On Apr 7, 2010, at 2:07 PM, Tab Atkins Jr. wrote:
> 
>> On Wed, Apr 7, 2010 at 11:39 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
>> 
>> Agreed - the definition of it should be that, if a
>> transition-animation manipulates the property that it is attached to
>> the transition of (that is, if you have "transition: left 1s
>> play(bounce 1s);" and the bounce keyframe manipulates 'left'), the
>> actual transition of 'left' is overriden by the animation.
> 
> I would like to see an additive effect so, if I have a "wobble" animation that alters left back and forth over time coupled with a transition that moves from right to left, then the result would be a wobbled slide.  Not a wobble with a sudden jerk to the final position.
> 
> I have a dumb question: in the case of left, top, right, bottom -- if the element has a position: static, then animations (and transitions for that matter) on those properties will have no effect.  Is that right?  Is that what we want?

Yes.

> It would be nice if I could have an animation put the element into relative position mode, wiggle it around, and then put it back in to static position mode.

You can use transform to wiggle things around without having to make them positioned.

Simon

Received on Wednesday, 7 April 2010 20:27:46 UTC