3 ms·
We have a native app that is similar in that it makes extensive use of css transforms to animate content on the iPad (Zite, btw. I believe it is smoother and l
by mikeklaas 15y ago
We have a native app that is similar in that it makes extensive use of css transforms to animate content on the iPad (Zite, btw. I believe it is smoother and less crashy than the OnSwipe pages I have seen).
The biggest issue we've come across is limiting the total screen area (in pixels) of elements having "-webkit-transform: translate3d(0,0,0);" (this is the declaration you use to force the browser to use 3d acceleration to animate this element). Once it goes beyond a certain size, there isn't enough memory on the iPad to handle it and you get jerky animation and crashes.
This will help:
http://mir.aculo.us/2011/02/08/visualizing-webkits-hardware-acceleration/ http://mir.aculo.us/2011/02/08/visualizing-webkits-hardware-...