如果对IE 11有条件评论?

时间:2017-09-12 10:28:38

标签: html internet-explorer-11

如何在我的网站上添加IE11样式表?

我的html中有以下注释,但它对IE11不起作用。 或许我错误地理解了它?

    <!-- HTML5 shiv and Respond.js support IE8 or Older for HTML5 elements 
    and media queries -->
    <!--[if lt IE 9]>
   <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js">
   <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js">
   </script>
   <script src="bower_components/html5shiv/dist/html5shiv.js"></script>
   <script src="bower_components/html5shiv/dist/html5shiv-printshiv.js">
   <![endif]-->

0 个答案:

没有答案