Skip to content

Instantly share code, notes, and snippets.

@diegoarigony
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegoarigony/7df925133eb4ce41e6a7 to your computer and use it in GitHub Desktop.
Save diegoarigony/7df925133eb4ce41e6a7 to your computer and use it in GitHub Desktop.
Force Acceleration in webkit - from http://davidwalsh.name/translate3d
/* warp speed ahead */
.animClass {
-webkit-transform: translate3d(0, 0, 0);
/* more specific animation properties here */
}
/* If your animation is still flickering after switching to the transform above,
you can use a few little-known CSS properties to try to fix the problem: */
.animClass {
-webkit-backface-visibility: hidden;
-webkit-perspective: 1000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment