blueblueblueblue
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by blueblueblueblue
-
-
Hello everyone!
I have a horizontal scroll section on my site as seen in the codepen. The problem is, when resizing the window horizontally, the width doesnt match anymore and the hotizontal scroll either goes too far or some of my content is cut off.
I cant use xPercent instead of x since i need different widths for various screen widths.
I already tried a solution suggested in another Thread (
), but it doesnt seem to work in my case.
Any ideas why or different approaches? Thanks a lot for your help!See the Pen XWyqOjR by blueblueblueblue (@blueblueblueblue) on CodePen
Pls help: Recalculating horizontal scroll width on resize not working
in GSAP
Posted
Thank you so much for the help and all of the detailed explanation @akapowl!
I'm pretty much new to gsap and javascript in general, thatswhy i was just copying some stuff i saw on different forums.
Either way everything works perfectly now and i think i even understood most of your explaining