With CSS, you can ease changes in a style. This can be used for full fledged animations or something as simple as making a hover state less abrupt.
Hover Craft! Hover Craft!A more garish example
Hover Craft! Hover Craft!Shay Howe has an excellent writeup of using transitions and animations.