Sort out some common jQuery animation events and arrange jquery animations.
Some of jQuery's commonly used animation functions have been sorted out, which are useful for interactive pages.
. Css ('A', '12px ');
. Css ({
A: '12px ',
B: '# fff'
});
. Show ();
. Hide ();
. Toggle ();
. FadeIn ();
. FadeOut ();
. FadeToggle ();
. SlideDown ();
. SlideUp ();
. SlideToggle ();
. Text ('string ');
. Animate ({
A: '40px ',
B: 'ccc'
}, 200)
. FadeTo (600, 0.4 );
And then sorted out some of the animation function can operate the css attributes, in fact, also from other places on the Internet to find (http://blog.csdn.net/goodshot/article/details/8648706 ):
BackgroundPosition
BorderWidth
BorderBottomWidth
BorderLeftWidth
BorderRightWidth
BorderTopWidth
BorderSpacing
Margin
MarginBottom
MarginLeft
MarginRight
MarginTop
OutlineWidth
Padding
PaddingBottom
PaddingLeft
PaddingRight
PaddingTop
Height
Width
MaxHeight
MaxWidth
MinHeight
MaxWidth
Font
FontSize (the css parameter specified in the animate function is not the same as the standard css attribute. For example, the css standard is: font-size. Likewise
This is also the case with many faces)
Bottom
Left
Right
Top
LetterSpacing
WordSpacing
LineHeight
TextIndent
Opacity