• 欢迎访问web前端中文站,JavaScript,CSS3,HTML5,web前端demo
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏web前端中文站吧

IE的CSS hack 全面 实用 文档资料查阅

CSS3 web前端中文站 2年前 (2018-02-09) 532次浏览 已收录 0个评论
<span class="pun">.</span><span class="pln">all IE</span><span class="pun">{</span><span class="pln">property</span><span class="pun">:</span><span class="pln">value\9</span><span class="pun">;}</span>
<span class="pun">.</span><span class="pln">gte IE </span><span class="lit">8</span><span class="pun">{</span><span class="pln">property</span><span class="pun">:</span><span class="pln">value\0</span><span class="pun">;}</span>
<span class="pun">.</span><span class="pln">lte IE </span><span class="lit">7</span><span class="pun">{*</span><span class="pln">property</span><span class="pun">:</span><span class="pln">value</span><span class="pun">;}</span>
<span class="pun">.</span><span class="pln">IE </span><span class="lit">8</span><span class="pun">/</span><span class="lit">9</span><span class="pun">{</span><span class="pln">property</span><span class="pun">:</span><span class="pln">value\0</span><span class="pun">;}</span>
<span class="pun">.</span><span class="pln">IE </span><span class="lit">9</span><span class="pun">{</span><span class="pln">property</span><span class="pun">:</span><span class="pln">value\9\0</span><span class="pun">;}</span>
<span class="pun">.</span><span class="pln">IE </span><span class="lit">7</span><span class="pun">{+</span><span class="pln">property</span><span class="pun">:</span><span class="pln">value</span><span class="pun">;}</span>
<span class="pun">.</span><span class="pln">IE </span><span class="lit">6</span><span class="pun">{</span><span class="pln">_property</span><span class="pun">:</span><span class="pln">value</span><span class="pun">;}</span>
<span class="pun">.</span><span class="kwd">not</span><span class="pln"> IE</span><span class="pun">{</span><span class="pln">property</span><span class="com">//:value;}</span>

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

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

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

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

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


web 前端中文站 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:IE 的 CSS hack 全面 实用 文档资料查阅
喜欢 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址