Which CSS properties prefixes are compatible with Edge?

Asked

Viewed 794 times

11

With launch of Windows 10 Microsoft eventually retired Internet Explorer, changing the default browser to the Microsoft Edge.

To support CSS properties that have not yet been standardized by W3Cen, browsers implement unique prefixes to support these new, incomplete properties. Internet Explorer uses the prefix -ms-*.

Edge uses these same prefixes or some new prefix has been created for it (something like -ed-* for example)?

  • You should use the same prefix after all -ms- refers to Microsoft and not to Internet Explorer...

3 answers

6


Just complementing the other answer, since 2014 Microsoft has been working more intensively to be able to display web content on their browsers. And it has been observed that many pages, especially mobile, have used only the prefix -webkit- and not others. Therefore, they have also considered properties that use the prefix -webkit- (source: The Mobile Web should just work for Everyone). This is even possible to observe in the graph of the other answer.

Microsoft also made the site available Platform status which gives information on the development status of CSS resources.

As for the actual use of CSS prefixes, one should try to use all possible (-webkit-, -ms-, -moz-, -o-) and also, where possible, make use of the resource @supports.

To see more information about this, I wrote a post that addresses CSS prefixes in Edge.

5

Existing prefixed properties that are extremely popular will remain until they have native support, but Microsoft Edge will not be the introduction of a new prefix system for features. Instead, they will use feature flags (such as Chrome and Firefox for experimental client-side features, rather than developer-side).

inserir a descrição da imagem aqui

2

Browser other questions tagged

You are not signed in. Login or sign up in order to post.