css transitions examples
Example 1: transition transform
/* Transition Transform */
.section:hover {
transform: translateX(0px) translateY(75px);
}
.section {
transition: transform 500ms ease-in-out 25ms;
}
Example 2: css transform transition
.selector {
transition: transform 1s;
}
Example 3: Using CSS transitions
div {
transition: <property> <duration> <timing-function> <delay>;
}