Hi
I saw this great example using ScrollTrigger with horizontal sections/items and + draggable.
This seems to work great, but I would also like to adjust this to simulate a scale up/down effect, so when scrolling items from right start from e.g. 50% size and scales to 100% in center of viewport and scales down again to 50% at left in viewport. Ideally it would be great in the item(s) could be at 100% when these are within a range in center of viewport, e.g. between 20/30% from left and 70/80% from right.
I have create a pen here:
https://codepen.io/bjarnefyrstenborg/pen/bGwrePb
I would like if the items could scale down when reaching viewport on left side as well.
Furthermore I have used ScrollTo plugin to scroll to the section/item, but it doesn't seem to scroll enough. It would be great to scroll the item all to the left of the viewport or better scroll to the item, with the item horizontal in center of the viewport. For last item if would just be scroll all to the right on the horizontal scroller.