[CSS] [proprietà] animation

animation (proprietà CSS) stabilisce, in forma abbreviata, l’animazione degli Elementi cui acceda.

Sintassi

animation: nome_animazione durata_funzione iterazione_funzione direzione;
valore descrizione
XXX XXX

Esempi

<style> 
div#animazione_test {
    width: 150px;
    height: 150px;
    background: yellow;
    position: relative;
    animation: animazione_test 3s infinite;
}
@keyframes animazione_test {
    from {left: 0px;}
    to {left: 80%;}
}
</style>
<div id="animazione_test"></div>

Contenuti correlati

  • CSS
  • HTML
  • JavaScript
  • jQuery
  • PHP
  • SQL
  • WORDPRESS

Fonti esterne

css, proprietà css

Related Articles

0 Comment

Rispondi