设计高性能CSS3动画的几个要素

  • 尽可能地使用合成属性transform和opacity来设计CSS3动画,不使用position的left和top来定位
  • 利用translate3D开启GPU加速

参考《High Performance Animations》http://www.html5rocks.com/en/tutorials/speed/high-performance-animations/

原文地址:https://www.cnblogs.com/webgg/p/5341826.html