Let IE9 the following browsers support media querry

Source: Internet
Author: User

1. How to enable IE9 the following browsers to support CSS3 Media query required Min-width/max-width properties

CSS3 Media Query IE browser support is from IE9 start support, then want to IE6~IE8 browser support media query can use JS to assist support. You can use one of the following two auxiliary JS files mainly:

1). respond.js

Can be introduced via CDN from: http://www.bootcdn.cn/respond.js/

2). css3-mediaqueries.js

Can be downloaded on GitHub and then introduced;

For the use of the above two pollify files, their advantages and disadvantages can be in the link: http://stackoverflow.com/questions/12837568/css3-mediaqueries-js-vs-respond-js

2. such as and on the page to introduce the above two files

In order to reduce the number of HTTP requests for the page, for browsers that support CSS3 media queries, the above JS files are not introduced, whereas the other is introduced. So how to do it, you can refer to the article:

Http://www.cnblogs.com/thinkingthigh/archive/2013/06/19/3144239.html

3. Sometimes found that the introduction of Respond.js, but did not achieve CSS3 media query effect Ah, how to solve it? You can refer to the article:

Http://www.cnblogs.com/aimyfly/p/4286626.html

Let IE9 the following browsers support media querry

Related Article

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.