Html5shiv.js and Respond.min.js

Source: Internet
Author: User

Do the page commonly used things, write here when used to save points to find ...

Html5shiv: Resolves an issue where IE9 the following browsers do not recognize HTML5 new tags and cause CSS to not work.

Respond.min: Let browsers that do not support CSS3 Media query include IE6-IE8 and other browser support queries.

Because IE6/IE7/IE8 also has a large part of users, in order to allow the site visitors to the normal access to the HTML5 site, so these two options are still needed,

Here are the two workarounds for CDN address notation:

<!--[if Lt IE 9]> <script src= "//cdn.bootcss.com/respond.js/1.4.2/respond.js" ></script> <script Src= "Http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js" ></script><! [endif]->

There is also a IE8 and the following support CSS3 Media query css3-mediaqueries.js like the above can be introduced, but there will be a splash screen is not particularly recommended, the above is the most commonly used

Html5shiv.js and Respond.min.js

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.