Home › Forums › CSS › Media queries for retina – the basics › Reply To: Media queries for retina – the basics
September 27, 2013 at 1:02 pm
#151525
Alen
Participant
You shoyld be detecting pixel density not width for hi-def devices. Here’s part of my Sass mixin.
@media
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5){
/* stuff */
}