-
Notifications
You must be signed in to change notification settings - Fork 486
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
How to set an ending point to the data-lax-translatex scroll effect? #74
Comments
hey :) Can you put your code into a code pen so I can see the effect your trying to achieve? |
Hey Alex! Thanks for you reply! :) I'd like both my h1 and h2 end just where the .container .lax itself ends. |
Thanks for the demo, what do you mean by "end just where the .container .lax itself ends" ? I'm not quite sure the effect you're trying to achieve ! |
Sorry, I'm so new to this, I can't even explain myself :/ Thank you so much for your patience! :) |
Try removing the class |
I'm trying to set scroll effects using the lax library.
Here's my code:
Is there a way to make the scroll effect inside .container .lax end just where the .container .lax itself ends?
Right now the
h1
andh2
scroll until the end of the container-fluid, and that's not what I want!I've been able to set the starting point of the scroll effect modifying the
data-lax-translate-x="vh 0"
, but I can't make it end where I want!Thanks for your help!
The text was updated successfully, but these errors were encountered: