Skip to content

limit object relative distance #13

Open
@maksad

Description

@maksad

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions