Currently, I am facing a dilemma: I have an effect triggered by hovering over one div, but I actually want the effect to be triggered when the cursor hovers over another div instead. To illustrate:
<div id='mouse-hover-in-this-div'>
blablabla
<div id='should-trigger-mouse-hover-in-this-div'></div>
</div>
I have explored some potential solutions without success. Specifically, I attempted to modify the CSS property of the inner div using jQuery's .css method, but I was unable to achieve the desired outcome as outlined below:
-webkit-transform: translateY(16px);
transform: translateY(16px);
-webkit-animation-name: hang;
animation-name: hang;
-webkit-animation-duration: 1.5s;
animation-duration: 1.5s;
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
animation-direction: alternate;
The hover effect in question is from the hover.css library. Simply put, I want a bounce effect applied to an arrow to trigger when the entire div is hovered over, not just the small arrow itself. Is there a feasible solution to this issue?