szynszyliszys/repaintless

translateZ ?

crazy4groovy opened this issue · 1 comments

Nice lib!

Just wondering if you've found any use case for translateZ() ? or translate3d() for that matter?

Translate Z is required to move an elements among the Z axis. It is differente from scaling an element and it trigger the GPU acceleration. A use case can be an animation like this:
https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translateZ