在html页面中我们经常看到

<!--[if lt IE 9]>    //判断当前浏览器的版本是否小于IE 9

  <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<!--[endif]-->

 其中:Respond.js 是一个快速、轻量的 polyfill,用于为 IE6-8 以及其它不支持 CSS3 Media Queries 的浏览器提供媒体查询的 min-width 和 max-width 特性,实现响应式网页设计(Responsive Web Design)。
   html5shiv 使不支持html5的浏览器支持html5新增的标签,  IE 9支持html5,但是其一下的版本不支持.
 
 

相关文章:

  • 2021-07-22
  • 2021-12-25
  • 2022-12-23
猜你喜欢
  • 2022-02-04
  • 2021-06-07
  • 2021-06-23
  • 2021-07-03
  • 2021-08-30
  • 2022-12-23
相关资源
相似解决方案