How do you specify the duration of a transition effect in CSS?

  • duration
  • time-duration
  • transition-duration
  • transition-time
To specify the duration of a transition effect in CSS, you use the transition-duration property. This property defines the amount of time it takes for the transition to complete. You can specify the duration using units like seconds (s) or milliseconds (ms). For example, transition-duration: 0.5s; sets the transition duration to half a second.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *