ie 的hack

  1. * 或 # ,IE7、IE11 支持。
  2. 9 ,IE8、IE9、IE11 支持。
  3.  ,IE8、IE9 支持。
  4. *、#、9、 这几个写法除了IE外其他浏览器均不支持。
.all IE{property:value9;}
.gte IE 8{property:value;}
.lte IE 7{*property:value;}
.IE 8/9{property:value;}
.IE 9{property:value9;}
.IE 7{+property:value;}
.IE 6{_property:value;}
.not IE{property//:value;}

lte:就是Less than or equal to的简写,也就是小于或等于的意思。

lt :就是Less than的简写,也就是小于的意思。

gte:就是Greater than or equal to的简写,也就是大于或等于的意思。

gt :就是Greater than的简写,也就是大于的意思。

!  :就是不等于的意思,跟javascript里的不等于判断符相同

原文地址:https://www.cnblogs.com/chengyalin/p/9706526.html