3 RULES OF USING ANIMATION
Use animation in moderation. It's important that the effects you apply don't become too annoying.
Animate functional elements: Menu items, buttons, grids, or active links.
Pay attention to the quality of animation display. The animation should not lag or freeze.