.css transition code example
Example 1: css transform transition
.selector {
transition: transform 1s;
}
Example 2: css opacity transition
div {
transition: opacity seconds;
}
.selector {
transition: transform 1s;
}
div {
transition: opacity seconds;
}