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

parallaxContainerRef #7

Open
imanebadarou opened this issue Jun 25, 2024 · 0 comments
Open

parallaxContainerRef #7

imanebadarou opened this issue Jun 25, 2024 · 0 comments

Comments

@imanebadarou
Copy link

Hi I have been searching how to use the parallaxContainerRef.
Here's the part of my code :

<div class="case nier_web"> <img id="img_web2" src={nier_frame2}/> <MouseParallax parallaxContainerRef enableOnTouchDevice shouldResetPosition="true" strength="0.02"> <img id="img_web" src={nier_frame}/> </MouseParallax> <p className='desc_web'>Web design + Développement web</p> </div>
I want the mouse parallax effect to stop when i'm not hovering the image.

Thank you for your help.

Imane

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