How to design CSS3 animation effects without using jquery?