css transition in or out code example
Example 1: css transition
/*CSS Transition Syntax*/
selector {
transition: property duration timing-function delay|initial|inherit;
}
Example 2: css opacity transition
div {
transition: opacity seconds;
}