Why do I need to add -webkit- prefixes in other people's css animation codes in code playground? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why do I need to add -webkit- prefixes in other people's css animation codes in code playground?

Whenever I try to run a css animation I have to add the -webkit- prefix for it to run but I wonder how you guys just write the code without the prefix yet we are all using sololearn code playground? Or do you experience the same?

19th Jan 2020, 8:24 PM
Jahnics
Jahnics - avatar
4 Answers
+ 4
You probably run the app in a sligtly outdated android version (or at least his webview version) wich doesn't support css animation without vendor prefix... you could try to update your android (at least the webview part) if your device is not too old (that's sad, but after few years, vendors stop to support devices and android updates)
20th Jan 2020, 6:13 AM
visph
visph - avatar
+ 2
Do you try in sololearn playground
20th Jan 2020, 2:57 AM
Maninder $ingh
Maninder $ingh - avatar
+ 1
Yeah in sololearn playground I always have to add -webkit- for the animation to work.
20th Jan 2020, 5:51 AM
Jahnics
Jahnics - avatar
0
I now get it it's an old phone that ceased to be updated I even upgraded it manually.
20th Jan 2020, 6:25 AM
Jahnics
Jahnics - avatar