Jerry Coffin
0
Q:

transition css

div {
  transition: width 2s linear 1s; /* Property Duration Easing Delay */
}
10
transition: property duration timing-function delay|initial|inherit;
2
/* Example from W3Schools */

div
{
  width: 100px;
  height: 100px;
  
background: red;
  transition: width 2s;

}
 
1

div
{
  width: 100px;
  height: 100px;
  
background: red;
  transition: width 2s;

}
 
0
/*CSS Transition Syntax*/
selector {
 transition: property duration timing-function delay|initial|inherit; 
}
0

New to Communities?

Join the community