.nav-tab li:first-child + li.active a
我通过IE11 模拟ie8没有问题
但是通过IETester却不行,让我有些困惑...
别太相信IETest,真的!
其实IE对于某些CSS3的语法很早就开始的。
http://caniuse.com/#feat=css-sel2
adjacent sibling selector, 属于 css 2.1 selector 规范,IE 8 完全支持。
.nav-tab li:first-child + li.active a
我通过IE11 模拟ie8没有问题
但是通过IETester却不行,让我有些困惑...
别太相信IETest,真的!
其实IE对于某些CSS3的语法很早就开始的。
http://caniuse.com/#feat=css-sel2
adjacent sibling selector, 属于 css 2.1 selector 规范,IE 8 完全支持。