Luke Fritz
0
Q:

transition syntax css

transition: property duration transition-timing-function delay; 
/*Shorthand Property*/
1
/* Answer to: "css transitions" */

div {
  width: 100px;
  height: 100px;
  background: red;
  transition: width 2s;
  /* transition: width 2s, height 4s; */
}
 
div:hover {
  width: 300px;
  height: 1000px;
}
5

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

}
 
0

New to Communities?

Join the community