CSS transition-property

Description

CSS transition-property property represents a list of properties that we want to change. And the properties are separated by a comma.

Syntax

transition-property : property-name

Property values

property1, property2

We can specify a list of values that we want to change as a result of some event (:hover).

transition-property: width, background-color;

all

This keyword covers up all of the properties that we want to change.

transition-property: all;

Applicable to

It applies to all elements

#CSS digger
Was this article helpful?

 
This property represents a list of properties that we want to change.
×

Ctrl+D