search

Home  >  Q&A  >  body text

网页动画等过渡效果,CSS3 transitions 和 jQuery animations 谁实现的性能更好?

现代浏览器编写移动端的 Web APP,要用到一些动画过渡效果。不知道 CSS3 和 jQuery 该选哪种实现,谁的性能更好?

PHP中文网PHP中文网2787 days ago589

reply all(3)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 11:08:22

    If possible, you should still use css3, because the 3D conversion of css3's translate can enable GPU acceleration, while jquery's animation is executed by js and relies on memory operations.

    In this regard, you can refer to this:
    Enable hardware acceleration for css3

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 11:08:22

    CSS3 without a doubt. . .

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 11:08:22

    Written detailed related answers, CSS3 is more efficient
    http://www.cnblogs.com/WitNesS/p/4643019.html

    reply
    0
  • Cancelreply