现代浏览器编写移动端的 Web APP,要用到一些动画过渡效果。不知道 CSS3 和 jQuery 该选哪种实现,谁的性能更好?
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
PHP中文网2017-04-17 11:08:22
Written detailed related answers, CSS3 is more efficient
http://www.cnblogs.com/WitNesS/p/4643019.html