electerious / basicScroll

Standalone parallax scrolling for mobile and desktop with CSS variables.
https://basicscroll.electerious.com
MIT License
3.63k stars 148 forks source link

Multiple start and stop positions #52

Closed dhruveonmars closed 4 years ago

dhruveonmars commented 4 years ago

Is it possible to create something similar to this (https://p2mv.studio/about) using basicScroll? Or would a more custom scroll need to be created? I don't have to create exactly that, but that's the reference I have to work off.

I imagine if it was possible, it would be using multiple custom values in for the start and stop positions, but not quite sure.

Any help is appreciated

electerious commented 4 years ago

I don't think that basicScroll is the right tool to create such a scroll effect. There's no real start and stop position. It's more like tracking the scroll position of the site and applying the offset as a transform to the elements (+ a delay).