CSS transition-property Property

The transition-property property specifies the name of the CSS property the transition effect is for (the transition effect will start when the specified CSS property changes).

The transition-property CSS property specifies the names of the CSS properties to which a transition effect should be applied.

CSS Syntax

transition-property: none|all|property|initial|inherit;

Example -