Skip to content
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

parallax background and parallax element in a same time #146

Open
mohamadelmi opened this issue Jan 12, 2017 · 0 comments
Open

parallax background and parallax element in a same time #146

mohamadelmi opened this issue Jan 12, 2017 · 0 comments

Comments

@mohamadelmi
Copy link

Hi Mark Dalgleish,
Thanks for creating this plugin :)
I’d like to use Stellar for parallax background and parallax element in a same time. Please open this link:
http://themenectar.com/demo/salient-business/
As you can see the "We Mean Business" text has scroll toward bottom. To make such an effect I considered data-stellar-ratio="-0.1" to my element and also set positionProperty: 'transform'
The problem is my text stays above its position in the beginning by getting negative transform. I’d like my element stays in its position by page loading, translate3d(0px, 0, 0px), and by scrolling this amount get change. Is that possible? Do you think I can create a website like https://carv.ai/ by using Stellar plugin?

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

No branches or pull requests

1 participant