What’s the difference between between IE’s filter and -ms-filter properties? If I use one should I use them both? Do they do the same thing, but each work on only certain versions of IE?
What’s the difference between between IE’s filter and -ms-filter properties? If I use one
Share
Microsoft introduced
-ms-filterto make Internet Explorer more standards-compliant (CSS 2.1 requires vendor extensions to have vendor prefix). As the syntax of originalfilterproperty is not CSS 2.1 compliant, IE8+ requires the value of the-ms-filterproperty to be enclosed in quotation marks.-ms-filteris supported in IE8+, legacyfilterproperty is, as far as I know, for backwards compatibility supported in all versions of Internet Explorer.Related link: http://blogs.msdn.com/b/ie/archive/2008/09/08/microsoft-css-vendor-extensions.aspx
Please note that support for filters may be removed in IE10.