page transition css code example
Example 1: scss transition
div {
transition: all 0.5s ease;
background: red;
padding: 10px;
}
div:hover {
background: green;
padding: 20px;
}
Example 2: css transition
/*CSS Transition Syntax*/
selector {
transition: property duration timing-function delay|initial|inherit;
}