change the speed of transition in css code example Example: css opacity transition div { transition: opacity seconds; }