CSS transition property Property
CSS transition-property Property
The transition-property property is used to specify the name of the CSS property the transition effect is for. A transition effect typically occurs when a user hovers over an element.
Default Value:-
Its default value is all.
Syntax:-
Its syntax is:- transition-property: none | all | property | initial | inherit;
Further Explanation:-
Value | Description |
---|---|
none | No property will get a transition effect. |
all | All properties will get a transition effect. |
property | Defines a comma-separated list of CSS property names the transition effect is for. |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |