I am writing a ie9
specific css
property. but it affets ie10
too..
how to avoid this?
here is my property:
.back { visibility:visible; }
:root .back { visibility:hidden\0/IE9; }
i am viewing the result using the ie
document mode.
I am writing a ie9
specific css
property. but it affets ie10
too..
how to avoid this?
here is my property:
.back { visibility:visible; }
:root .back { visibility:hidden\0/IE9; }
i am viewing the result using the ie
document mode.
The below should target IE9 only (and not IE10 etc as :root
does):
@media screen and (min-width:0) and (min-resolution: .001dpcm) {
// IE9 CSS
.back{visibility:hidden;}
}