Home > Web Front-end > H5 Tutorial > body text

Introduction to html5 shiv.js and respond.min.js

不言
Release: 2018-07-03 10:43:50
Original
1928 people have browsed it

This article mainly introduces the detailed explanation of html5 shiv.js and respond.min.js. The content is quite good. I will share it with you now and give it as a reference.

This article introduces html5 shiv.js and respond.min.js and shares them with everyone. The details are as follows:

Save the trouble of searching for things commonly used in making pages when writing them here. . .

html5shiv: Solve the problem that browsers below ie9 do not recognize the new tags of html5 and cause CSS to not work.

respond.min: Allow browsers that do not support css3 Media Query, including IE6-IE8 and other browsers, to support querying.

Since there are still a large number of users of IE6/IE7/IE8, in order to allow website visitors to access HTML5 websites normally, these two solutions are still needed.

The following are two How to write the cdn address of this solution:

<!--[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]—>
Copy after login

There is also a css3-mediaqueries.js that allows IE8 and below to support css3 media queries. You can also introduce it like the above, but it will cause a splash screen and is not particularly recommended. The above is The most commonly used

You can check other CDN addresses of bootstrap here http://www.bootcdn.cn/

The above is the entire content of this article, I hope it will be helpful to everyone's study , please pay attention to the PHP Chinese website for more related content!

Related recommendations:

Introduction to html5.2 dialog

Introduction to html5 calling app sharing function

The above is the detailed content of Introduction to html5 shiv.js and respond.min.js. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template