css transalte code example
Example 1: transition transform
.section:hover {
transform: translateX(0px) translateY(75px);
}
.section {
transition: transform 500ms ease-in-out 25ms;
}
Example 2: css trasnalte
transform: translate(200px);
transform: translate(50%);
transform: translate(100px, 200px);
transform: translate(100px, 50%);
transform: translate(30%, 200px);
transform: translate(30%, 50%);
Example 3: css transition
selector {
transition: property duration timing-function delay|initial|inherit;
}