transistion in css code example
Example 1: transition transform
/* Transition Transform */
.section:hover {
transform: translateX(0px) translateY(75px);
}
.section {
transition: transform 500ms ease-in-out 25ms;
}
Example 2: transition syntax css
transition: property duration transition-timing-function delay;
/*Shorthand Property*/