.all IE{property:value\9;}
.gte IE 8{property:value\0;}
.lte IE 7{*property:value;}
.IE 8/9{property:value\0;}
.IE 9{property:value\9\0;}
.IE 7{+property:value;}
.IE 6{_property:value;}
.not IE{property//:value;}
/*  webkit css hack  */
    .webkit-hack{
        color:green;
    }
    @media screen and (-webkit-min-device-pixel-ratio:0) { 
     .webkit-hack { 
       color:red;
     } 
  }
  /* firefox css hack */
  .firefox-hack{
    color:green;
  }
  @-moz-document url-prefix(){
    .firefox-hack{
        color:red;
    }
  }
  /* IE8/9/10/11 css hack */
  .IE-hack{
    color:green;
  }
  @media screen\0 {
     .IE-hack{
        color:red;
      }
  }
  /* IE6/7/8 css hack */
  .IE678-hack{
      color:green;  
   }
   @media \0screen\,screen\9 {
    .IE678-hack{
        color:red;
    }
   }
  /*

 

 http://www.imooc.com/article/5247

相关文章:

  • 2022-01-12
  • 2021-09-25
  • 2021-06-25
  • 2021-10-19
  • 2021-10-11
  • 2021-11-20
  • 2022-12-23
猜你喜欢
  • 2022-02-16
  • 2021-06-02
  • 2021-12-14
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案