All the code works fine in IE9+.
This works in IE8 using respond.js:
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
// Code
}
This does not:
@media (-webkit-min-device-pixel-ratio: 2) and (min-width: 700px),
(min-resolution: 192dpi) and (min-width: 700px){
// Code
}
Does anyone know another way to pass the media query to IE8?
Well, maybe i got it all wrong but you are specifying -webkit-stuff AND other width queries.
I don't believe ie will understant -webkit- but can buggyly understand min-resolution.
By buggyly, i mean, all i found is not clear, and because you are using respond.js, it might be forced. I found something on respond.js guihub as a duplication of this other issue
To target IE8 only via media query :
To exclude IE8 only use a condition comment :