This article introduces html5 shiv.js and respond.min.js and shares them with everyone. The details are as follows:
Things that are commonly used when making pages, save time to look for them 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 the cdn address writing methods for the two solutions:
<!--[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 css3-mediaqueries.js that allows IE8 and below to support css3 media queries. It can be introduced as above, but it will cause a splash screen and is not particularly recommended. The above is the most commonly used one.
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. I also hope everyone will support VeVb Wulin Network.