I know this possible duplicate question. but my scenario is different. I've came across possible SO solution but none fit for my situation.
is that any possible or valid like below combination, Im trying to combine resolution with media query only targeting IE 11 or above.
For example :
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) and (min-width:992px) and (max-width:1024px) {
.want-my-css-here{
}
}
I've already done media query for common purpose like below
@media only screen and (min-width:992px) and (max-width:1024px) {
.some-example-class{
....
}
}
but in IE 11, few things are not working properly in particular resolution. For that, I've got media query for IE
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.dropdown {
position: relative;
display: block;
}
.dropdown-menu {
top: 56%
}
}
I want to know how to add resolution in above IE targeting media query.
Exactly what i need is .dropdown
and .dropdown-menu
should work in particular resolution of IE.
Or else pls tell me how do control this via javascript/ typescript. could some help me on this?
Below combination is not working for me
@media only screen and (min-width:992px) {
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.dropdown-menu {
top: 36%
}
}
}
Thanks