Open henrycjchen opened 4 years ago
top/left 会频繁触发浏览器的 repaint, transform 会生成新的复合层,不会触发 repaint,由 GPU 单独控制,实现硬件加速
《使用css3实现动画来开启GPU加速》,2018-01-25,https://www.jianshu.com/p/d1e16a2e88c1
top/left 会频繁触发浏览器的 repaint, transform 会生成新的复合层,不会触发 repaint,由 GPU 单独控制,实现硬件加速