thinking

one platform thousands thinking

IE9 Only CSS Hack

http://blog.vervestudios.co/blog/post/2011/05/13/IE9-Only-CSS-Hack.aspx


#element {
    color:orange;
}
#element {
    *color: white;    /* IE6+7, doesn't work in IE8/9 as IE7 */
}
#element {
    _color: red;     /* IE6 */
}
#element {
    color: green\0/IE8+9; /* IE8+9  */
}
:root #element { color:pink \0/IE9; }  /* IE9 */

posted on 2011-11-01 11:49 lau 阅读(459) 评论(0)  编辑  收藏 所属分类: Web


只有注册用户登录后才能发表评论。


网站导航: