add CSS3 animation