You have probably heard of CSS animations, in this article I will introduce to you to a way of doing it using Greensock (GSAP).

GSAP allows you to code your animations using javascript, giving them modularity and reusability, it also opens the possibility to add some logic quirks to your website, by connecting your animations to triggered events.

You can think of GSAP as properties manipulator.

Say you have an object, you can make it fade away by manipulating its opacity, or make it move by altering its position on Y axis, having this in mind, we can start with…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store