+ 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
6 Answers
+ 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
+ 3
well that should be solely down to your device
+ 3
-webkit- is a vendor prefix,your browser does recognize these properties unless that are prefixed with -webkit-,thats your vendor
+ 2
for those who do not need to add -webkit- or prefixes to their own,i think it's automatically prefixed
+ 1
oh thanks đłđŹBrains
0
đłđŹBrains what do you mean?