You are here : cssCSS 3transition-property

transition-property - CSS 3

The transition-property property specifies the name of the CSS property the transition 
effect is for (the transition effect will start when the specified CSS property changes).Tip: A transition effect could typically occur when a user hover over an element.Note: Always specify the transition-duration property, otherwise the duration is 0, and the transition will have no effect.


Syntax

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


Example

div
	{
       
    -webkit-transition-property: width; /* Safari */   
	transition-property: width;
	}div:hover {    width: 300px;}


Output / Return Value


Limitations


Alternatives / See Also


Reference