Can anyone give me some reference or code for how to animate out each elements jquery function or only using gsap before moving to the next link/page?
I have created a HTML page with few elements like logo, one pic and one introduction paragraph. All these three elements animate and appear when the page loads and after this, when user click the next page I would like to have an effect like all these three elements animates out (reverse animation) and then moves to the next page. Any help would be much appreciated.
I have created a demo below: