CSS3 Transition not working

The Solution to CSS3 Transition not working is


A general answer for a general question... Transitions can't animate properties that are auto. If you have a transition not working, check that the starting value of the property is explicitly set. (For example, to make a node collapse, when it's height is auto and must stay that way, put the transition on max-height instead. Give max-height a sensible initial value, then transition it to 0)

~ Answered on 2019-01-28 10:20:04


Most Viewed Questions: