.animate() in jQuery

It helps add a custom animation of a set of CSS properties.

.animate()

// it moves an element “div_id” to the right, until it has reached a left property of 450px:

$(“button”).click(function(){
    $(“#div_id”).animate({left:’450px’});
});