@alisha91
Animation has two important roles in web design: it makes the site more lively and memorable, and also immerses the user more deeply in the interaction. It can attract attention to a certain block, prompt action, encourage it and generally increase the time of user interaction with the site.