Skip to content

limit object relative distance #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
maksad opened this issue Oct 21, 2014 · 1 comment
Open

limit object relative distance #13

maksad opened this issue Oct 21, 2014 · 1 comment

Comments

@maksad
Copy link

maksad commented Oct 21, 2014

Currently, I am using your package and its great. everything works good and it simple to init. The only thing is that I didn't get how to limit the parallax. for example when an object assigned to be parallax (parallax parallax-ratio="-0.25") the object keeps moving until the end of the entire scroll. How can I limit the travel distance for example to 100px?

@ghost ghost added the enhancement label Oct 23, 2014
@ghost
Copy link

ghost commented Oct 23, 2014

This is something that's not currently built in, but would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant