tilt.js icon indicating copy to clipboard operation
tilt.js copied to clipboard

Add effect to element from mouse over page

Open batata004 opened this issue 6 years ago • 4 comments

Hi,

Tihs library is amazing, simply amazing! However I have a question: I would like an image inside the page to be tilted when the mouse moves over the page (not the image itself). While the user moves the mouse over the page from left to right I would like the image to tilt accordingly.

is it possible? Many parallax libraries allow this to happen, would it be possible with this library?

batata004 avatar Mar 28 '18 00:03 batata004

Looking for the same stuff, can't find how to 😢

Le-future avatar Apr 18 '18 10:04 Le-future

Looking for this as well, is there a way we can pass the element to a specified element?

Like hovering over the page will affect an image inside the page, as opposed to the page itself.

webberwang avatar Jun 08 '18 23:06 webberwang

I'd like that as well

lucaslealdev avatar Mar 08 '19 12:03 lucaslealdev

I'll just add my +1 to this. Would also love to have the option to react to the cursor, even if the cursor isn't hovering over the element.

itsViney avatar Jan 22 '21 19:01 itsViney