jQuery Multiple choices


Total available count: 24
Subject - JavaScript Frameworks
Subsubject - jQuery

The jQuery animate() method can be used to animate ANY CSS property?


 

 

 

 



A


Solution:-

The jQuery animate() method is used to create custom animations of a set of CSS properties. This method changes an element from one state to another state with CSS styles. The CSS property value is changed gradually, to create an animated effect. Only numeric values can be animated (like "margin:50px" & "padding:40px;).

Syntax & Example as given below:

Syntax:

$(selector).animate({params},speed,callback);

Example:

$("button").click(function(){
 $("div").animate({left: '300px'});
});?



Comments