Thursday, 8 September 2011

CSS3 Transitions

CSS3 transitions effects that allows an element change gradually from one style to another.It requires simple properties like width,height and time(duration).

How does Css3 Transitions work?

Specify the required Css property add according the effect you want.Mention the duration of the effect you want.Properties of the Transition are like transition-duration, transition-timimg-function,transition-delay.

eg. of Transitions
transition-property: width;
transition-duration: 1s;
transition-timing-function: linear;
transition-delay: 2s;
/* Firefox 4 */
/* Safari and Chrome */
/* Opera */

No comments:

Post a Comment