0
Animation not working in HTML
I learned this code from w3school but its not working...can anybody pls help me rectify this code https://code.sololearn.com/WKs3z7wsuITz/?ref=app
11 Answers
+ 2
Sololearn web code runs at mobile browser
Do you know your browser version?
+ 1
this code works... maybe not as you like, but it works: the color changes from red to blue, and at the end becomes red
+ 1
Gordon is right, try to increase the duration of the animation, maybe you have a long time loading the webpage and after downloading the animation is already finished
+ 1
Gordon Игорь Яковенко thanks for the help......i just played this code on my browser amd it worked fine.....i guess it doesnt work in the sololearn app(downloaded from playstore)
+ 1
Gordon Игорь Яковенко thanks for the help......i just played this code on my browser amd it worked fine.....i guess it doesnt work in the sololearn app(downloaded from playstore)
+ 1
It works in Sololearn app of our phone too. Also android.
You can try to add a forwards to the animation. If it freezes at end color, means actually has effected.
0
its not working for me.....i dont see any color change in sololearn app....
0
Put prefix before no prefix
https://code.sololearn.com/WX5gCSS5krCa/?ref=app
0
its still not working for me.....is something wrong with my phone??? or with the app??Gordon
0
Also, maybe change 2s to 10s and see?
0
Yes Nropb i suspect that may be one of the reason too. Another way is to use "forwards" to freeze the animation at end state