The transition-duration
property sets the time, in seconds or milliseconds, how long the transition animation should last before it completes.
By default, the value is 0s
, which means that there is no animation, the transition is instantaneous.
transition-duration: time;