How to animate translateY with limits

I have this simple setup https://codepen.io/Lko3001/pen/oNyRPrr, and the .shifted columns are translated vertically of 128px, how can I do such that the more I scroll the more the translate value decreases until it becomes -128px? 128 and -128 are the max and lowest value the translate should have, how do I do that?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server