Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does jQuery animate use css3 transitions on modern browsers?

I am taking about version 1.8+.

Since css transitions are hardware accelerated, I was wondering if behind the scenes jQuery's animate function relied on css3 transitions (for modern browsers).

I didn't see any mention of this on animate docs http://api.jquery.com/animate/

like image 219
numan salati Avatar asked Nov 08 '12 17:11

numan salati


1 Answers

No. It rapidly changes the value of inline style attributes, step-by-step, to give the impression of animation.

like image 164
daveyfaherty Avatar answered Sep 22 '22 15:09

daveyfaherty