@keyframe should only have background color at 100%, but still not passing

@keyframe should only have background color at 100%, but still not passing
0

#1

Tell us what’s happening:

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 10323.67.9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.209 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/use-css-animation-to-change-the-hover-state-of-a-button


#2
@keyframes background-color {
      100% {
        background-color: #4791d0;
      }
    }

Works for me.