Home >Web Front-end >JS Tutorial >jQuery animate effect demonstration_jquery

jQuery animate effect demonstration_jquery

WBOY
WBOYOriginal
2016-05-16 18:45:301405browse

animate(params[,duration[,easing[,callback]]])
Function used to create custom animations.

The key to this function is to specify the animation form and result style attribute object. Each property in this object represents a style property that can change (such as "height", "top", or "opacity").
Note: All specified attributes must be in camel form, such as marginLeft instead of margin-left.
The value of each attribute indicates the length of this style attribute when the animation ends. If it is a numeric value, the style property will gradient from the current value to the specified value. If a string value such as "hide", "show", or "toggle" is used, the default animation form is invoked for the property.

After running, refresh the main remote js file.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn