Eg, this is my code:
@-webkit-keyframes anim {
0% {
-webkit-transform: translate(-100px,0px) rotate(5deg);
}
50% {
-webkit-transform: translate(-140px,-5px) rotate(10deg);
}
100% {
-webkit-transform: translate(200px,-30px) rotate(40deg);
}
}
How can I tell exactly when it's at 50%? I know I can detect when it ends but that doesn't help here.
Now... I could try to base it on time since the animation runs for 3 seconds, but that seems dodgy.
Thanks