I currently have a basic menu setup with a dropdown feature. The dropdown displays correctly with the following CSS property:
-webkit-transition: all 0.4s ease-in-out;
However, I am attempting to modify it to only transition based on height while maintaining the 0.4s ease-in effect. Additionally, I would like to introduce a 1s delay for the ease-out transition.
I have experimented with the following code:
-webkit-transition: height 0.4s ease-in, height 0.4 ease-out 1s;
Unfortunately, this implementation also applies the delay during the ease-in transition.
The desired outcome is for the ease-out transition to trigger when hovering over an element but without any delay while easing out.
Am I facing limitations or making a mistake in my approach?