Skip to content
Advertisement

How to animate multiple effects at same time using jQuery?

I am using jQuery’s animate() function to animate a div. When I give multiple effects like height 140 and width 200, then the next effects start only after the previous effects finish. I want to execute simultaneously. Any help will be appreciated.

JavaScript
JavaScript

Advertisement

Answer

The animate method accepts multiple style declarations, you can simply…

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement