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

Option to animate css #20

Closed
vestimir opened this issue Feb 9, 2018 · 2 comments
Closed

Option to animate css #20

vestimir opened this issue Feb 9, 2018 · 2 comments
Labels

Comments

@vestimir
Copy link

vestimir commented Feb 9, 2018

Is it possible to use ParallaxProvider, or Parallax to animate certain CSS property – for example adding fade in/out via opacity?

Is there a method, or callback that can be used to calculate some kind of a ratio?

@jscottsmith
Copy link
Owner

Not in v1, sorry. I've been working on a v2 that supports opacity and you can access the progress of an element in the viewport to do custom effects.

Track progress of v2 here.

@vestimir
Copy link
Author

Will do, thanks for the awesome plugin!

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

No branches or pull requests

2 participants