transition w3school code example
Example 1: css transition all
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
-o-transition: all .3s ease-in-out;
-ms-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
Example 2: transition syntax css
transition: property duration transition-timing-function delay;
/*Shorthand Property*/
Example 3: css transition
transition: property duration timing-function delay|initial|inherit;