codrops / DirectionAwareHoverEffect

How to create a direction-aware hover effect using CSS3 and jQuery. The idea is to slide in an overlay from the direction we are moving with the mouse.
397 stars 115 forks source link

Add option to specify which element to reveal on hover #2

Closed daniel-hopkins closed 10 years ago

daniel-hopkins commented 10 years ago

In the implementation I was using, I had several divs inside the parent parent div, so I needed a way to specify which object I wanted to reveal on hover rather than just 'div'