Using CSS3 Transitions, Transforms and Animation
Rich Bradshaw has a page with some examples of CSS transitions and animations. Succinct and well explained. Make sure you also check the official docs and do your own research on top of any tutorial you read. It’s still the early days for HTML5 and CSS3; things change, both in spec and in implementation.