[ACCEPTED]-What is the difference between webkit and moz-webkit

Accepted answer
Score: 18

These are the vendor-prefixed properties 20 used by different rendering engines of browsers(gecko,blink,webkit,trident 19 etc)

 -webkit for Chrome(blink,webkit), Safari(webkit) and Opera(blink); 
 -moz for Firefox(gecko), 
 -o for Opera(presto), 
 -ms for Internet Explorer(Trident). 

Usually they're used to implement CSS 18 features that are proprietary or the browser 17 companies are still fighting over on the 16 way it is supposed to be implemented, until 15 finalisation by W3.

Using prefixes allows 14 properties to be set to each rendering engine 13 so you can tweak your css to adjust for 12 the different implementations.

In theory 11 after the inconsistencies are resolved the 10 prefix will be removed. However there are 9 always older versions of the browser you 8 need to write and support CSS code for, so 7 in practice it will take a lot of time before 6 you can drop the prefix.

Also note that it's 5 convention to declare the prefixed version 4 first and then the standard version, so 3 if and when the specifications are updated, the 2 standard version will override the prefix 1 versions

More Related questions