MENU
Generic Animation
.animate(Object CSSProperties [, Number/String duration] [, String easing] [, function() complete]) .animate(Object CSSProperties, Object options) Continually change the CSS properties to the specified targets..speed( [duration ] [, settings ] ).speed( [duration ] [, easing ] [, complete ] ).speed(plainObject )Creates an object containing a set of properties ready to be used in the definition of custom animations. |
RESETRUNFULL
<!DOCTYPE html><html><head><script src="jquery-3.5.1.min.js"></script></head><body>
<div style='background:green;display:inline-block;'>X
</div>
<script>
$('div').click(function(){
$(this).animate({height: '200px', width: '200px'},
5000,
function(){alert('completed!');});
});
</script></body></html>