前端HTML/CSS
选课中心 APP下载
当前位置:首页 > 技能类 > 前端 > HTML/CSS > 针对IE的CSS hack 全面 实用

针对IE的CSS hack 全面 实用

更新时间:2018-01-29 14:51:01 来源: 阅读量:

【摘要】 allIE{property:value 9;} gteIE8{property:value 0;} lteIE7{*property:value;} IE8 9{property:value 0;} IE9{property:value 9 0;} IE7

针对IE的CSS hack 全面 实用
.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;}
lte:就是Less than or equal to的简写,也就是小于或等于的意思。

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

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

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

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

分享到: 编辑:admin