translate3d vs translate performance

后端 未结 3 454
遥遥无期
遥遥无期 2021-01-31 07:24

We now all know, particularly from that nice article, that we should prefer css-transforms to animate position.

But we got the choice between translate() an

3条回答
  •  忘了有多久
    2021-01-31 07:35

    This site below runs tests comparing translate(), translate3d(), and a couple other properties. According to it, translate3d() is faster in most browsers.

    http://jsperf.com/translate3d-vs-xy

提交回复
热议问题