Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/03/2013, 13:24
Avatar de ryugen
ryugen
Colaborador
 
Fecha de Ingreso: agosto-2008
Ubicación: Rosario, Santa Fe
Mensajes: 350
Antigüedad: 15 años, 8 meses
Puntos: 187
Respuesta: Animacion CSS

Debería usar el animation-fill-mode (https://developer.mozilla.org/en-US/...tion-fill-mode), de esta manera estaría reteniendo el valor final de la animación

Puedes aplicarlo de la siguiente manera:
Código CSS:
Ver original
  1. div
  2. {
  3. width:100px;
  4. height:100px;
  5. background:red;
  6. position:relative;
  7. animation:myfirst 2s forwards;
  8. -moz-animation:myfirst 2s forwards; /* Firefox */
  9. -webkit-animation:myfirst 2s forwards; /* Safari and Chrome */
  10. -o-animation:myfirst 2s forwards; /* Opera */
  11. }