Log in

View Full Version : Swinging keyframe animation: set pause?



Rostam
10-15-2013, 09:28 PM
1) Script Title: Swinging keyframe animation

2) Script URL (on DD): www.dynamicdrive.com/style/csslibrary/item/swinging_keyframe_animation/

3) Describe problem:

Hi there,

I saw that great animation script, swinging keyframe animation and I'd love to use this on my website which I'm currently working on :-) I just couldn't figure out how to make the "pause time" longer (10s or 15s) and the animation itself a little bit slower.

Appreciate any help.

Thank you in advance :-)

jscheuer1
10-16-2013, 04:42 AM
.swing{
-webkit-animation:swinging 20s ease-in-out 0s infinite;
-moz-animation:swinging 20s ease-in-out 0s infinite;
animation:swinging 20s ease-in-out 0s infinite;
-webkit-transform-origin:50% 0;
-moz-transform-origin:50% 0;
transform-origin:50% 0;
}