Retina display image resolution using media queries
问题 What is the best way to use media queries to both detect a retina display and also specify max-width ? I can detect retina using @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and ( min--moz-device-pixel-ratio: 2), only screen and ( -o-min-device-pixel-ratio: 2/1), only screen and ( min-device-pixel-ratio: 2), only screen and ( min-resolution: 192dpi), only screen and ( min-resolution: 2dppx) { } How do I add it to the media queries? Do I write @media only screen and