How to fix @-webkit-keyframes animation flicker at the end of its iteration?
It is very noticeable on Android 2 on animating with CSS3 transform values translate, translate3d and opacity.
You might notice in some posts a suggestions to fix it with:
-webkit-transform: translate3d(0,0,0);
or
-webkit-perspective: 1000;
-webkit-backface-visibility: hidden;
But after testing it on Android 2.3, I noticed than non of them really fixes the issue.
George Hess published in his blog a working fix for it, mentioning:
For example, if the following code flickers:
changing it to the following will fix the problem
Conclusion: Leave empty (do not set parameters to) the end of animation duration
to {}/100% {}and beside set end of animation parameters in99% {}or else duration.