how to add transition to 2 commands css. code example Example: how to use the transition left in css nav:hover { left: 0; transition: 2s; }