IE9浏览器对CSS3的支持情况参考

以下整理的IE9对CSS3支持情况仅限初期发布的IE9版本,其余版本由于改进或修复的原因,可能已经支持之前不支持的CSS3属性,所以以下数据仅供参考。

更准确的支持情况请访问:https://docs.microsoft.com/en-us/previous-versions//cc351024(v=vs.85)

IE9对CSS3属性的支持情况:

CSS3属性 IE9支持情况 之前版本IE支持情况
opacity YES None
multiple backgrounds YES None
background-clip YES None
background-size YES None
background-origin YES None
text-shadow NO
word-wrap YES 5-8
writing-mode YES 5-8
border-image NO
border-radius YES None
box-shadow YES None
overflow-x YES 7-8
overflow-y YES 7-8
multiple columns NO
box-sizing YES 8
RGBA colors YES None
HSL colors YES None
HSLA colors YES None
text-stroke NO
gradients NO
transforms NO
transitions NO
outline-offset NO
resize NO
@font-face YES 5.5-8

对一些生僻属性的支持情况

下面这些属性呢,平时比较腼腆害羞,我们用的不是很多,但是,IE9对其是支持的:

@namespace, text-justify, text-align-last, text-overflow, word-break.

还有很多其他鲜为人知的CSS属性,由于现在版本的IE不支持,所以,就没有罗列出来。

IE9对CSS3选择器支持情况

CSS3选择器 IE9支持情况 之前版本IE支持情况
[attribute^=value] YES 7-8
[attribute*=value] YES 7-8
[attribute$=value] YES 7-8
E ~ F (sibling) YES 7-8

IE9支持的伪类&伪元素

:root

:nth-child(n)

:nth-last-child(n)

:nth-of-type(n)

:nth-last-of-type(n)

:last-child

:first-of-type

:last-of-type

:only-child

:only-of-type

:empty

:target

:not(s)

:enabled

:disabled

:checked

:indeterminate

::selection

IE9不支持的伪类&伪元素

:default

:valid

:invalid

:in-range

:out-of-range

:required

:optional

:read-only

:read-write

::before

::after

::first-letter

::first-line

::value

::choices

::repeat-item

::repeat-index

关键词: ie css3 IE9