Using IE conditional comments inside a stylesheet

后端 未结 6 1662
深忆病人
深忆病人 2021-02-01 02:59

I know that you can use an IE conditional comment inside HTML:


6条回答
  •  日久生厌
    2021-02-01 03:22

    IE stylesheet hacks

    .Class {
       color:  green;     /* standard */
       color:  green\9;   /* IE 8 and below */
       *color: green;     /* IE 7 and below */
       color:  green !ie; /* IE 7 and below */
       _color: green;     /* IE 6 */
    }
    

提交回复
热议问题