Exemple de code de la propriété CSS animation.
<style>
#animation {
animation : monanimation 5s ease-out 3s infinite normal none;
border : 1px solid #666;
padding : 5px;
width : 90%;
}
@keyframes monanimation{
from { width: 90% }
to { width: 100px }
}
</style>
<div id="animation">Je me réduis</div>
Interprétation du code de la propriété animation CSS par votre navigateur.
Interprétation normale du code de la propriété CSS animation (copie d'écran).
