Skip to content

Instantly share code, notes, and snippets.

@wengellen
wengellen / gist:3f5f3a896c68f3bf3eeb
Last active August 29, 2015 14:26 — forked from chrisl8888/gist:9299678
Translatez - translate z hack forces the browser to create a new layer and send rendering to the GPU. Helpful for items that move or animate. Source: http://stackoverflow.com/questions/10814178/css-performance-relative-to-translatez0
-webkit-transform: translatez(0);
-moz-transform: translatez(0);
-ms-transform: translatez(0);
-o-transform: translatez(0);
transform: translatez(0);