If a developer needs an element to gradually change color over time on hover, what combination of CSS properties should they use?

  • background-transition
  • color-transition
  • opacity-transition
  • transform-transition
To achieve a gradual color change on hover, the developer should use the color-transition property. This property allows smooth color transitions and is specifically designed for hover effects.
Add your answer
Loading...

Leave a comment

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