Does IE9 support color:transparent and li:nth-child(1)?
# January 22, 2013 at 6:00 am
**IE9 does support :nth-child() pseudo-selectors.**
However I’m facing some difficulties finding a source regarding the transparent keyword. I know it was first introduced in CSS1 as a valid value for the background-color property.
Then, CSS2 allowed border-color to have transparent as a valid value. Now, as far as CSS3 is concerned, transparent has become a valid value for anything accepting a color value.
But, I don’t know where IE9 stands on the topic. I’d say it supports it on both border-color and background-color, for sure. But I don’t know it’s okay for the color property.
Anyone wanna spread some knowledge here?
**EDIT**: I just tested it, **it does support transparent as a value for the color property**. You’re free to go.# January 22, 2013 at 6:27 am
>@paulie_d: not sure opacity as a better browser support than transparent. Depends on what he’s planning to do with it.
I’m referencing ‘opacity’ as the 0 in RGBA and alpha in HSLA not as a CSS property.
Logically, if RGBA and HSLA are supported then transparent color is an option as
color : rgba (0,0,0,0) /* transparent text */
As you have found the KEYWORD is also supported which, I suppose was his question but it’s just shorthand for the other ways of doing it.
You must be logged in to reply to this topic.