Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

animation left to right css


#idor.class{	
  animation: example 4s infinite
}

@keyframes example {
  0%   {background-color:red; left:0px; top:0px;}
  25%  {background-color:yellow; left:200px; top:0px;}
  50%  {background-color:blue; left:200px; top:0px;}
  100% {background-color:red; left:0px; top:0px;}
}
 
PREVIOUS NEXT
Tagged: #animation #left #css
ADD COMMENT
Topic
Name
3+4 =