@Toluwaa-o
Posted
Congratulations on completing the challenge. Concerning your question, use something like this:
button { transition: background-color 3s ease; }
button:hover { background-color: /color you want to transition to/; }
The transition property takes 3 parameters. First, the property you want to transition, the amount of time you want the transition to take and lastly, the transition style. You can read more here https://www.w3schools.com/css/css3_transitions.asp
The :hover pseudo selector is used to style an element when you hover over it. For more info, read about it here https://www.w3schools.com/cssref/sel_hover.php