I would like to learn how people create short animations and put them into their code. For example if you hover over an image and it appears to be moving. Or if the site has a background that has a moving character on it. I think that these interactions are pretty cool and I would like to learn about how they are done.

Some examples of these can be found herehere, and here

css.php