CSS3 Transition not working

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.

Sometimes, you’ll want to animate height and width when the starting or finishing value is auto. (For example, to make a div collapse, when its height is auto and must stay that way.) In this case, put the transition on max-height instead. Give max-height a sensible initial value (bigger than its actual height), then transition it to 0.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)