width change transition left right property in css code example
Example 1: how to use the transition left in css
nav:hover {
left: 0;
transition: 2s;
}
Example 2: css transition
/*CSS Transition Syntax*/
selector {
transition: property duration timing-function delay|initial|inherit;
}