Allow browsers earlier than IE9 to support Media Queries and ie9queries

Source: Internet
Author: User

Allow browsers earlier than IE9 to support Media Queries and ie9queries

1. How to enable browsers below IE9 to support the min-width/max-width attribute required by media queries in css3

The degree of support of the IE browser for media query in css3 is from IE9 ~ The IE 8 browser supports media queries and supports JavaScript. You can use one of the following two auxiliary js files:

1). respond. js

Can be introduced from: http://www.bootcdn.cn/respond.js/ through cdn

22.16.css 3-mediaqueries.js

You can download and introduce it on github;

For the two pollify files that use the above, the pros and cons can be found at the link: http://stackoverflow.com/questions/12837568/css3-mediaqueries-js-vs-respond-js

2. For example, and introduce the above two files to the page

To reduce the number of http requests on a page, the preceding js file is not introduced for browsers that support css3 media queries, but vice versa. For how to do this, refer to the article:

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

3. Sometimes I find that respond. js is introduced, but it does not implement the media query Effect of css3. How can this problem be solved? Refer to the following articles:

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

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.