Like everyone pretty much said, if you can do it with CSS do it with CSS and for complex animations go with Javascript libraries specially if you need to manipulate the curve of the animation or special stuff like bounce, slow down or fasten an animation.