Re:Simple and fast CSS page transitions in your hybrid mobil...
by asawilliams on Wednesday September 05, 2012 @06:28PM
(#4481835)
why not use css transforms for the transitions?
[ Parent
| on HN ]
Re:Simple and fast CSS page transitions in your hybrid mobil...
by itsmonktastic on Wednesday September 05, 2012 @06:45PM
(#4481894)
The tutorial uses Zepto for animations, which backs onto CSS transforms.
"Zepto exclusively uses CSS transitions for effects and animation. jQuery easings are not supported."
Re:Simple and fast CSS page transitions in your hybrid mobil...
by asawilliams on Wednesday September 05, 2012 @11:13PM
(#4482685)
doesnt look like they implement 3d transforms which is where the performance would come from.
Re:Simple and fast CSS page transitions in your hybrid mobil...
by mortenjorck on Wednesday September 05, 2012 @06:38PM
(#4481871)
This is an especially pertinent question as CSS transforms tend to be hardware-accelerated on mobile Webkit, playing more smoothly and using less battery, while jQuery animations tend not to be.