Possible Duplicate:
Webkit CSS Animation issue - persisting the end state of the animation?
My CSS animations work really nicely. At least until they complete when everything rudely snaps back to its original position. How can I make the animated elements maintain their post animation location?
Edit Code:
.some_class
{
-webkit-animation-name: this_animation;
-webkit-animation-duration: 2s;
-webkit-animation-play-state: active;
}
@-webkit-keyframes this_animation
{
from {top:0px;}
to {top:50px;}
}
EDIT: Finally found the answer here: Webkit CSS Animation issue - persisting the end state of the animation?