We’re going to build a simple-looking web page displaying one toggle button. When the toggle button is clicked, the page will rotate (-13°) degrees to reveal the navigation. Clicking the same button rotates the page (+13°) back into place.
We’ll use the GreenSock animation plugin to create performant UI animations based on the user’s interaction with the website.… Read the rest ⇥ “Devil in the details: HOW TO BUILD A BULLETPROOF FULL-PAGE ROTATION ANIMATION THAT REVEALS A HIDDEN MENU WITH GREENSOCK (GSAP)”