Declare properties with transition effects

transition-property

Specify which property of a selector to transition on hover.

Property values

Specify the name of the property to affect. When there is more than one property to transition, use a comma separated list.

Examples

#grow {            
height: 100px;
color: #dd0000;
transition-property: height, color;
}
#grow:hover {
height: 200px;
color: #ff0000;
}
transition-property

style > transition > transition-propertyDeclare properties with transition effects

Q