Add css3 animation effect