Do iOS devices render the CSS3 animations/transforms/transitions more smoothly than if I were to use jQuery to do the same animation?
Do iOS devices render the CSS3 animations/transforms/transitions more smoothly than if I were to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
CSS3 transitions are massively faster on iOS and should be used whenever possible in preference to the old way of doing things.
If you combine transitions with transforms then you get the benefit that things are hardware accelerated, meaning that animations are very fluid, especially when many are happening at once.
Of course, you’ll need to test it to see, but it’s fairly easy to write a function that allows you to abstract this away. Here’s one I wrote a while back – not the greatest, but it’s an easy way to start off: http://css3.bradshawenterprises.com/legacy/