同一css在IE8下解析的结果和IE11下不一样的解决方法

  • A+
所属分类:Java

单独加上IE8下适用的css,即后面加上\9
例如

  1. .navbar-fixed-bottom .dropdown .caret {
  2. border-top: 0;
  3. border-bottom: 4px dashed;
  4. border-bottom: 4px solid \9;
  5. content: "";
  6. }
.navbar-fixed-bottom .dropdown .caret {
  border-top: 0;
  border-bottom: 4px dashed;
  border-bottom: 4px solid \9;
  content: "";
}