+ 1

Confused on CSS animation

IN sololearn App only i n my sololearn app only -webkit-animation works and bring result while animation/keyframes dose not works In my SL app only -webkit-animation works like -webkit-animation:test 1s linear 0s infinite; @-webkit-keyframes test { from{} to{} } but other sololearners use animation /keyframes like animation:test 1s linear 0s infinite; @keyframes test { from{} to{} } and they say keyframes works on their SL while it dosen't work on mine only -webkit-animation works ,why help

5th Apr 2018, 7:28 AM
Sudarshan Rai
Sudarshan Rai - avatar
6 Respostas
+ 5
Android: -webkit- Chrome: -webkit- Firefox: -moz- Internet Explorer: -ms- iOS: -webkit- Opera: -o- Safari: -webkit- if your device could fall under one of these,maybe that's why you always need to prefix webkit
5th Apr 2018, 7:37 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 3
well that should be solely down to your device
5th Apr 2018, 7:33 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 3
-webkit- is a vendor prefix,your browser does recognize these properties unless that are prefixed with -webkit-,thats your vendor
5th Apr 2018, 7:37 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 2
for those who do not need to add -webkit- or prefixes to their own,i think it's automatically prefixed
5th Apr 2018, 7:39 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 1
oh thanks 🇳🇬Brains
5th Apr 2018, 7:43 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
🇳🇬Brains what do you mean?
5th Apr 2018, 7:34 AM
Sudarshan Rai
Sudarshan Rai - avatar