Chrome doesn't display css webkit property | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Chrome doesn't display css webkit property

The following code shows a style properties that must work with Mozilla Firefox, Google Chrome and Opera : -w webkit animation:5s; -m animation:5s; -o animation:5s; Both Opera and Firefox display the css output but Chrome doesn't, I tried to remove both Opera and Firefox properties and it worked but when i don't remove them Chrome doesn't display it's own property("-w webkit animation:5s;") Any solutions ?

1st Jan 2019, 6:48 AM
WARLORD
WARLORD - avatar
6 Answers
+ 5
Wrong prefix -webkit- No - w And the firefox prefix is -moz-
1st Jan 2019, 7:02 AM
Gordon
Gordon - avatar
+ 4
Gordon I wrote it in that way but it didn't work ,it only works when I remove other browser's properties
3rd Jan 2019, 5:33 PM
WARLORD
WARLORD - avatar
+ 3
Cлaвeн Ђервида when you add both of them it won't work but when you add a one property which is the WebKit property it will work
15th Jan 2019, 1:37 PM
WARLORD
WARLORD - avatar
+ 3
Cлaвeн Ђервида Lenovo TAB 2 A7-10F
29th Jan 2019, 10:02 PM
WARLORD
WARLORD - avatar
+ 1
Add both
12th Jan 2019, 3:11 PM
Cлaвeн Ђервида
Cлaвeн Ђервида - avatar
+ 1
On which device you writing thecode?
15th Jan 2019, 2:01 PM
Cлaвeн Ђервида
Cлaвeн Ђервида - avatar