MixItUp is another great plugin to handle such tasks that deserves to be bookmarked.
While jQuery part decides which elements to show or hide, CSS3 transitions are used for animating them.
The plugin plays nice with responsive + fluid layouts it is lightweight and works pretty fast.
There are many options for customization: effects, easing, their speed, etc. and it is very well-documented.Advertisements:
ioDeck, a self-hosted and awesome PHP form generator.
Professional XHTML Admin Template ($15 Discount With The Code: WRD.)
SSLmatic – Cheap SSL Certificates (from $19.99/year)