How can I get my max-width
media queries to work on retina displays? I have tried the website I have created on a macbook air and because the pixel ratio is 2 my media queries are active at the wrong screen widths.
here's an example of how I have used my media queries;
@media only screen and (max-width: 1800px){ }
you need to use
-webkit-min-device-pixel-ratio: 2
to target retina 2xsomething like this:
or use something like these:
More info about this, you can see in this article