Change timing on hover release for transitions

Is there a way to change the timing function for a CSS transition on release of a hover event? As in have the initial hover animation be fast, for instance, and then slowly return to initial position


Hey there. You can!

So if you traditionally put the transition property with duration and which properties to transition for the initial state, and then put your end state in the code for the trigger, hover in this case, then it will go both ways. Otherwise to differentiate timing functions during the trigger and after the trigger, you put transition duration in both the code for the start and end states. Did I get that right?

Sounds about right :slight_smile: .

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.