What am I missing cubic-bezier?

i don’t see what i’m missing here it tells me to put in (0, 0, 0.58, 1) for the cubic-bezier but for some reason it’s not going at the same speed as ease-out? I’ve watched the video and I seem to be doing it right?

Thanks

Your code so far


<style>
.balls{
  border-radius: 50%;
  position: fixed;
  width: 50px;
  height: 50px;
  margin-top: 50px;
  animation-name: bounce;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
#red {
  background: red;
  left: 27%;
  animation-timing-function: cubic-bezier (0, 0, 0.58, 1);
}
#blue {
  background: blue;
  left: 56%;
  animation-timing-function: ease-out;
}
@keyframes bounce {
  0% {
    top: 0px;
  }
  100% {
    top: 249px;
  }
}
</style>
<div class="balls" id= "red"></div>
<div class="balls" id= "blue"></div>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36.

Challenge: Use a Bezier Curve to Move a Graphic

Link to the challenge:

2 posts were merged into an existing topic: Cubic-bezier, done for you?