问题
I am new to CSS transform and animation, I was just wondering what is difference between those two.
I under -webkit-transform is specific to chrome and -moz-tranform is to Mozilla Firefox.
I can't find a difference between -webkit and -ms.
回答1:
well -webkit- is for Chrome and safari where as -ms is for Internet Explorer
there are also other prefixes like -moz- for Firefox and -o- for Opera
here a link that might help: http://peter.sh/experiments/vendor-prefixed-css-property-overview/
回答2:
Those are CSS Vendor prefixes, if you google just that, you'll find all the information you need.
Android: -webkit-
Chrome: -webkit-
iOS: -webkit-
Safari: -webkit-
Firefox: -moz-
Internet Explorer: -ms-
As bonus: Opera: -o-
回答3:
-webkit- prefix for the browser that's using webkit engine like safari,chrome.
and -ms- for Microsft IE versions.
also we have a -moz- prefix for old mozila version and also -o- for opera version.
they called CSS Vendor Prefixes
CSS vendor prefixes or CSS browser prefixes are a way for browser makers to add support for new CSS features in a sort of testing and experimentation period. Browser prefixes are used to add new features that may not be part of a formal specification and to implement features in a specification that hasn’t been finalized
here is a CSS vendor Prefix overview
also for a ReadMore about that: What Are They and Why You Should Use Them
来源:https://stackoverflow.com/questions/22037384/ms-transform-vs-webkit-transform