Animations and Effects

A collection of frequently used animations and effects for DOM elements.


Animate an element property

How to do animations, such as fading, sliding, or just toggling visibility with JS and CSS3.

jQuery: $.animate(), $.slideUp(), $.slideDown(), $.fadeIn(), $.fadeOut()

Hide or show an element

Toggle an element's display property for rendering it visible or invisible.

jQuery: $.show(), $.hide(), $.toggle()