Foros del Web » Creando para Internet » CSS »

Superproblema con css animation!

Estas en el tema de Superproblema con css animation! en el foro de CSS en Foros del Web. 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 ...
  #1 (permalink)  
Antiguo 15/09/2012, 08:42
 
Fecha de Ingreso: mayo-2011
Mensajes: 214
Antigüedad: 12 años, 11 meses
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???????????
  #2 (permalink)  
Antiguo 15/09/2012, 17:55
Avatar de Eucodance  
Fecha de Ingreso: febrero-2011
Ubicación: Puerto Deseado
Mensajes: 11
Antigüedad: 13 años, 2 meses
Puntos: 2
Respuesta: Superproblema con css animation!

Quizas es un problema tuyo de ram, probe en chrome y firefox, anda perfecto

Etiquetas: chrome, html, fondo
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 20:43.