Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/09/2012, 08:42
moro666
 
Fecha de Ingreso: mayo-2011
Mensajes: 214
Antigüedad: 13 años
Puntos: 16
Pregunta Superproblema con css animation!

Buenas y gracias por su tiempo!
Les explico, tras poner esto en mi web:
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style type="text/css"> 
div
{
	width:200px;
	height:200px;
	margin-left: 200px;
	animation:myfirst 0.5s;
	-moz-animation:myfirst 0.5s; /* Firefox */
	-webkit-animation:myfirst 0.5s; /* Safari and Chrome */
	-o-animation:myfirst 0.5s; /* Opera */
	background: red;
}

@keyframes myfirst
{
from {height:3000px;width:3000px;margin-top:-1500px;margin-left:-1500px;}
to {height:200px;width:200px;margin-top:0px;margin-left:200px;}

}

@-moz-keyframes myfirst /* Firefox */
{
from {height:3000px;width:3000px;margin-top:-1500px;margin-left:-1500px;}
to {height:200px;width:200px;margin-top:0px;margin-left:200px;}

}

@-webkit-keyframes myfirst /* Safari and Chrome */
{
from {height:3000px;width:3000px;margin-top:-1500px;margin-left:-1500px;}
to {height:200px;width:200px;margin-top:0px;margin-left:200px;}
}

@-o-keyframes myfirst /* Opera */
{
from {height:3000px;width:3000px;margin-top:-1500px;margin-left:-1500px;}
to {height:200px;width:200px;margin-top:0px;margin-left:200px;}

}
</style>
</head>
<body>

<p><b>Note:</b> This example does not work in Internet Explorer.</p>

<div></div>


</body>
</html> 
En esta direccion el ejemplo: http://ovejosnights.tk/fotoflip.html

Si se fijan el cuadro rojo pareze que empieze a hacerse pequeño varias veces, que puedo hacer para que no pase??

Yo solito he deducido que podria ser al poner mas de una cosa en from-to, pero con solo una no me vale.....

Que HAGO???????????