css3 animation for card opening