Cubic-bezier problem

Dicci cosa sta succedendo
Descrivi qui il tuo problema in dettaglio.

hi guys
somebody can tell me what is wrong in my code please.

  **Il tuo codice fino ad ora**


  border-radius: 50%;
  background: linear-gradient(
  position: fixed;
  width: 50px;
  height: 50px;
  margin-top: 50px;
  animation-name: bounce;
  animation-duration: 2s;
  animation-iteration-count: infinite;
#ball1 {
  left: 27%;
  animation-timing-function: cubic-bezier (0.25,0.25,0.75,0.75)
#ball2 {
  left: 56%;
  animation-timing-function: ease-out;

@keyframes bounce {
  0% {
    top: 0px;
  100% {
    top: 249px;


<div class="balls" id="ball1"></div>
<div class="balls" id="ball2"></div>
  **Informazioni del tuo browser:**

Lo user agent è: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

Sfida: Imparare il funzionamento delle curve di Bezier

Link alla sfida:

You’ve added a space between “cubic-bezier” and “(0.25,0.25,0.75,0.75)”. Usually we don’t do that with functions. I don’t think that CSS cares, but the FCC test isn’t sophisticated enough to accept that as correct.

When I remove that space, the test passes for me.

1 Like

credo devi soltanto togliere lo spazio qua prima della parentesi

1 Like