Yep, but with the transition-property:background, you set the duration not only for changing the color, but also for background-position and background-size. background is shorthand css-property.
We must be careful and apply duration only to the properties that we change.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
we are changing rotate property as well..
Yep, but with the transition-property:background, you set the duration not only for changing the color, but also for background-position and background-size. background is shorthand css-property.
We must be careful and apply duration only to the properties that we change.