Search the Community
Showing results for tags 'style width'.
So I am trying to have a smooth animation where upon pressing the hamburger button, the side nav expands from the left side of the screen to its full width then upon pressing the same button again, constricts back inward smoothly. So it toggles open and closed fine, but the animation for it closing is not working. Also when outside of the codepen environment, when you press the button to open, there is a visible jump where it appears that the nav-wrapper div is made visible then from there expands outward using the TweenMax.to(). I am very new to GSAP so this is probably something easy to fix, but I have been working on it for a few days now with no solution. Thank you in advance for helping!