I have a div that scales to 0.9 and opacity 80% in 500ms when you hover over it. When you click that div, it scales back up to 1 and 100% opacity in 500ms. The issue is, when the mouse leaves the div then re-enters, the hover interaction can occur again but I want it to be disabled once you click on it.
It’s not possible to deactivate a :hover interaction with another trigger. The effect you’re looking to achieve may be possible anyway, but with a trick. For example with two elements one on top of the other… the one on top would get the hover and the click, the click would make it disappear and affect the one under it. Once disappeared (display:none) the hover would not happen again.