作者: 99538 | 来源:发表于2016-09-14 09:28 被阅读0次

    <!--[if lte IE 6]><![endif]-->IE6及其以下版本可见

    <!--[if lte IE 7]><![endif]-->IE7及其以下版本可见

    <!--[if IE 6]><![endif]-->只有IE6版本可见

    <!--[if lt IE 8]><![endif]-->IE8及其以下的版本可见

    <!--[if IE 8]><![endif]-->只有IE8版本可见

    用法:

    <!--[if IE 8]>

    <link href='static/css/ie8.css' rel='stylesheet'/>

    <![endif]-->



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

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

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

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

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

    相关文章

      网友评论

          本文标题:

          本文链接:https://www.haomeiwen.com/subject/dqrvettx.html