Use CSS Animation to Change the Hover State of a Button 3

Use CSS Animation to Change the Hover State of a Button 3
0

#1

I did everything according to the instructions and still, the test doesn’t pass on the second point.

Your code so far


<style>
  button {
    border-radius: 5px;
    color: white;
    background-color: #0F5897;
    padding: 5px 10px 8px 10px;
  }
  
  button:hover {
    animation-name: background-color;
    animation-duration: 500ms;
  }
  @keyframes background-color {
    100% {
      color: #4791d0;
    }
  } 
  
</style>
  
<button>Register</button>

#2

Can you add a link to the exercise?


#3

I SOLVE IT. I only had color instead of “background-color” the the @keyframes