Add CSS animation.