I'm using the vanilla codepen script attached to try to achieve horizontal scrolling going to the right instead of the left. Does anyone know how to do that?
See the Pen YzygYvM by GreenSock (@GreenSock) on CodePen
Hey @LSchneiderman
With flex-direction: row-reverse ( or alternatively flex-direction: row and direction: rtl ) on the sections and initially setting the sections to the end value of the original pen via gsap and then tweening them to 0 you should be good to go.
gsap.set( sections, { xPercent: -100 * (sections.length - 1) })
gsap.to(sections, {
xPercent: 0,
...
Is this what you were looking for?
See the Pen c5fae34eea530215141