Web4College

CSS transition-property

src

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, property2Default

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

transition-property: width, background-color;
Try it

all

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

transition-property: all;
Try it

Applicable to

It applies to all elements