CSS transitionproperty Property (original) (raw)

CSS transition-property Property

Last Updated : 29 Aug, 2024

The transition effect is used to display the change in the property of an element over a specified duration. The _transition-property property is used to specify the name of the CSS property for which the transition effect will occur.

**Syntax:

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

**Property values:

**Example: In the below example, we have specified that none of the properties will get a transition effect. Hence if we hover over the box, the changes in its properties will be sudden rather than transitioning from one value to another over a specified duration.

html `

CSS transition-property property