IE10, IE11, and Microsoft Edge hack

Source: Internet
Author: User
Tags microsoft edge

IE10, IE11, and Microsoft Edge hack

With the promotion of WIN10, Microsoft Edge Browser has become more and more common, but IE11 is also accompanied by, cumbersome.

First, look at the concepts, such as: Microsoft Edge Browser and edgehtml are two different things. Edge is a browser, and edgehtml is a rendering engine that handles and renders page elements . Since the two are fundamentally different, their newer versions are quite distinct. If a site relies on the engine version number, not the browser version, it can cause a site error.

Here's a look at the hack of IE10, IE11 and Microsoft Edge:

Css-hack for Microsoft Edge Browser 12+

@supports (-ms-accelerator:true) {
. selector {property:value;}
}

Css-hack for Microsoft Edge Browser 12+

_:-ms-lang (x),
_::-webkit-meter-bar,
. selector {
Property:value;
}

Css-hack for Microsoft Edge Browser 12+

_:-ms-lang (x),
_:-webkit-full-screen,
. selector {
Property:value;
}

Css-hack for Microsoft Edge Browser

@supports (-ms-accelerator:true) and (not (Color:unset)) {
. selector {property:value;}
}

Css-hack for Microsoft Edge Browser 13+

@supports (-ms-accelerator:true) and (Color:unset) {
. selector {property:value;}
}

Css-hack for Microsoft Edge Browser 13+

_:-ms-lang (x),
_::-webkit-meter-bar,
. selector {
Property:value;
}

Css-hack for Internet Explorer 11+ (IE11, Edge)

@charset "<any modern Browser but MSIE 10-or FF 18->";
_:-ms-lang (x),. selector {property:value;}

Css-hack for Internet Explorer one-only

_:-ms-fullscreen,
: Root. selector {
Property:value;
}

Css-hack for Internet Explorer (IE10, IE11, Edge)

_:-ms-lang (x),
. selector {
Property:value;
}

Css-hack for Internet Explorer

_:-ms-lang (x),
. selector {
Property:value9;
}

Css-hack for Internet Explorer + (IE9, IE10, IE11)

_::selection,
. selector {
Property:value;
}

Css-hack for Internet Explorer 8+ (IE9, IE10, IE11)

@media Screen {
. selector {
Property:value;
}
}

Any non-microsoft modern browsers (Safari +, Chrome 28+, Firefox 22+)

@supports (not (-ms-accelerator:true)) {

. selector {

Property:value;

}

}

IE10, IE11, and Microsoft Edge hack

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.