Created
January 13, 2014 19:18
-
-
Save roybarber/8406299 to your computer and use it in GitHub Desktop.
Enable hardware acceleration on an animated element by using the “null transform hack”.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.element {-webkit-transform: translateZ(0);-moz-transform: translateZ(0);transform: translateZ(0);} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment