I am trying to create a simple bouncing effect for my divs. The bouncing effect works in some way, but I don’t understand why divs fall under each other when they bounce, which is not what I want. I need divas to bounce in place.
This is FIDDLE
And this is my code:
$(document).ready(function() {
$(".balls").effect('bounce', { times: 3 }, 'slow');
});
The bounce effect is triggered when the page loads. Any help would be appreciated.
source
share