大家讲道理2017-04-17 11:27:10
I tested it,
Meizu note2 has animations on UC, Firefox, Chrome, and Meizu’s own browser.
Only mobile Opera has no animation.
lz you can try adding css prefix completion for different browsers.
Or add a flag in the meta that the browser turns on the h5 mode.
天蓬老师2017-04-17 11:27:10
It is best to add the browser compatibility prefix to your code transition: all 5s linear 1s;
. If you are using a browser with webkit kernel, it is best to write it like this
-webkit-transition: all 5s linear 1s;
transition: all 5s linear 1s;
高洛峰2017-04-17 11:27:10
On the mobile side, start using gpu to trigger the 3D effect of css3 and do not use js motion such as jquery. The performance will be significantly improved