翻譯自
http://cubiq.org/spinning-wheel-on-webkit-for-iphone-ipod-touch
找到 CSS,將下面加入到 #sw-frame 中即可
個人測試,iOS 5/6, Adnroid 4 均有效
-webkit-transform: translateZ(0);
to the#sw-frame {…-webkit-transform: translateZ(0);}
prop in spinning wheel css file.This forces the rendering engine to apply 3d hardware acceleration from the get go to all the spinner elements.Working properly under older IOS, Android and Playbook.
沒有留言:
張貼留言