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

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

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

posted on 2016-03-31 17:03  发烧开发者  阅读(212)  评论(0编辑  收藏  举报

导航