How can I add translate based on tilting to the element? #48
zalishchuk
started this conversation in
Ideas
Replies: 1 comment
-
Hey @zalishchuk I really like the idea you proposed 🔥 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey! Can you explain, is it possible to not only tilt the element but also change its
translateX
andtranslateY
with the same maxed values as rotate to get that fancy parallax effect when the card is tilting and simultaneously moves slightly closer to the cursor? The problem is that I can not append or reassign thetransform
CSS property becausereact-parallax-tilt
reassigns it every time.Beta Was this translation helpful? Give feedback.
All reactions