/ Code Css animation-timing-function | Résultat du code Css animation-timing-function | Copie d'écran / J'ai vu une erreur dans cette page

Exemple de code de la propriété CSS animation-timing-function.

<style>
#animation-timing-function-ease{
  : ease; 
  : animation; 
}

#animation-timing-function-linear{
  : linear; 
  : animation; 
}

#animation-timing-function-ease-in{
  : ease-in; 
  : animation; 
}

#animation-timing-function-ease-out{
  : ease-out; 
  : animation; 
}

#animation-timing-function-ease-in-out{
  : ease-in-out; 
  : animation; 
}

#animation-timing-function-step-end{
  : step-end; 
  : animation; 
}

#animation-timing-function-step-start{
  : step-start; 
  : animation; 
}

#animation-timing-function-step{
  : step(5, end); 
  : animation; 
}

#animation-timing-function-cubic-bezier{
  : cubic-bezier(0.42, 0, 0.58, 1.0); 
  : animation; 
}

.box{
  : 5s; 
  : 3s; 
  : infinite; 
 border : 1px solid #666; 
 width : 90%; 
 margin-bottom : 5px; 
 padding : 5px; 
}

 animation{
 from { width: 90% }
 to { width: 100px; }
}
</style>

<div class="box" id="animation-timing-function-ease">animation-timing-function : ease </div>
<div class="box" id="animation-timing-function-linear">animation-timing-function : linear </div>
<div class="box" id="animation-timing-function-ease-in">animation-timing-function : ease-in </div> 
<div class="box" id="animation-timing-function-ease-out">animation-timing-function : ease-out </div> 
<div class="box" id="animation-timing-function-ease-in-out">animation-timing-function : ease-in-out </div> 
<div class="box" id="animation-timing-function-step-end">animation-timing-function : step-end </div> 
<div class="box" id="animation-timing-function-step-start">animation-timing-function : step-start </div> 
<div class="box" id="animation-timing-function-step">animation-timing-function : step(5,end) </div> 
<div class="box" id="animation-timing-function-cubic-bezier">animation-timing-function : cubic-bezier(0.42, 0, 0.58, 1.0) </div>

Interprétation du code de la propriété animation-timing-function CSS par votre navigateur.

animation-timing-function : ease
animation-timing-function : linear
animation-timing-function : ease-in
animation-timing-function : ease-out
animation-timing-function : ease-in-out
animation-timing-function : step-end
animation-timing-function : step-start
animation-timing-function : step(5,end)
animation-timing-function : cubic-bezier(0.42, 0, 0.58, 1.0)

Interprétation normale du code de la propriété CSS animation-timing-function (copie d'écran).

copie d'écran de l'affichage de la propriété CSS animation-timing-function