hello, is there a way to control the hover on vs hover off transition duration for the interaction effects of an element?
I have an effect on an image which scales the image while hovering on it. I’ve set the transition duration to 8000ms so that the scale effect is very slow and subtle. The problem is that when the cursor moves off of the image it takes just as long for the image to scale back to its normal size. I want the scale effect only to happen when hovering. And then I want it to snap back to its original size when hovered off. Does that make sense?
This is normally very easy to do with CSS because you can apply the transition only to the hover state, or vice versa. But in the Cornerstone effects panel, I don’t see any options for this.
I tried applying custom CSS to the element, like this:
$el:hover {
transition-duration: 0s !important;
}
But this does nothing.
Strangely, if I do this:
$el {
transition-duration: 0s !important;
}
it successfully disables the transition duration, but it disables it for both the hover-on and hover-off states. So I don’t know how to only get the transition duration to apply to the hover state.
Please advise. Thank you.