Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/10/2015, 05:53
Avatar de ceaped
ceaped
 
Fecha de Ingreso: febrero-2004
Mensajes: 2.185
Antigüedad: 20 años, 2 meses
Puntos: 9
Pregunta Animación con .css no me funciona en Safari y IE

Buenos días
Tengo la siguiente animación la cual me funciona bien en Chrome y Firefox:

Código CSS:
Ver original
  1. #cajon_1  {
  2.     width: 111px;
  3.     height: 480px;
  4.     float: right;
  5.  
  6.     background-image: url(../images/cajon.png);
  7.     background-position: 0 0;
  8.     background-repeat: no-repeat;
  9.    
  10.     /* Chrome, Safari, Opera */
  11.     -webkit-animation: fadeOutUp cajon_1 fadeOutUp 4s;
  12.     /* Firefox */
  13.     animation: cajon_1 4s; 
  14.     }

Código CSS:
Ver original
  1. @-webkit-keyframes cajon_1 {
  2.            
  3. from {
  4.     width: 111px;
  5.     height: 0px;   
  6.     opacity: 0;
  7.    
  8.     /* Movimiento del cajon */
  9.     -webkit-transform: translate1d(-4000px, 0, 0);
  10.     transform: translate1d(-2000px, 0, 0);
  11.     }
  12.    
  13. to {   
  14.     width: 111px;
  15.     height: 480px;
  16.     opacity: 1;
  17.     }
  18.    
  19. }


Código CSS:
Ver original
  1. @-moz-keyframes cajon_1 {
  2.            
  3. from {
  4.     width: 111px;
  5.     height: 0px;   
  6.     opacity: 0;
  7.    
  8.     /* Movimiento del cajon*/
  9.     -webkit-transform: translate1d(-4000px, 0, 0);
  10.     transform: translate1d(-2000px, 0, 0);
  11.     }
  12.    
  13. to {
  14.     width: 111px;
  15.     height: 480px;
  16.     opacity: 1;
  17.    
  18.     }
  19.    
  20. }

Es un movimiento vertical de una cajón que aparece de arriba hacia abajo, pero como les digo no me funciona en Safari ni en IE.

¿Alguien me puede ayudar con esto?

Gracias por su ayuda
__________________
Diseñador Gráfico publicitario