ps: you can see this url: https://codepen.io/alphardex/pen/XWWWBmQ which I learn.
]]>I dumped in the same problem, but studying the css code library I’ve easily found the solution to “stop” then animation to the last color chosen.
The code has its rules:
animation-fill-mode REQUIRES the animation-iteration-count to perform the action to allow the “stop in the end” mode.
So, here is the code to add to make it works and have fun:
animation-iteration-count: 1;
-webkit-animation-iteration-count: 1; /* Chrome and Safari /
animation-fill-mode: forwards;
-webkit-animation-fill-mode: forwards; / Chrome and Safari */
Code tested in Edge, Safari, Chrome and Mozilla. Maxthon works only if updated ( …or if developers update it -.-” ).
Have a nice day!
]]>“animation-fill-mode: forwards;”
By using this, whatever you have in “to” condition will remain there.
]]>Another great post! Plenty of food for thought here.
]]>var myName = “EMMANUEL”;
letterColors =[orange,red,blue,green,purple]
if(15 > 5) {
bubbleShape = “circle”;
}
else {
bubbleShape = “square”;
}
drawName(myName, letterColors);
bounceName()
bounceBubbles()
Hi I used CSS-Animations for a little Game:
http://mg-otterson.de/fileadmin/puzzle/index.html
Just adding elements with jQuery a class with animation, this makes it pretty easy!
]]>You are learning website based languages visit: http://webanalysttips.blogspot.in/
]]>