Talking of animation, remember that the purpose of any kind of dynamic element is the improvement of the website usability. If earlier designers have been implementing animation as decoration, nowadays, experts strictly recommend to use it with the aim of attracting user's attention to important points like CTA buttons, forms and offers.
Here is a list of the most popular types of animations:
- flash and throbbing
- shift and jelly-like effect
- color change
- swing and others
Also, be aware that animated elements and scrolling effects can reduce site speed and spoil the user experience. Make sure that they're not excessive and don't irritate and put any pressure on the eyes.
The animation is an extremely useful web design technique unless you use it solely as decoration with no functional purpose.