Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Unused CSS Stages Media Queries Device-Specific Media Queries

Paul Carmelo Cunanan
PLUS
Paul Carmelo Cunanan
Courses Plus Student 8,862 Points

Device-Specific Media Queries - Part 2

A device-pixel-ratio of 2 is equivalent to a resolution value of _____________?

Help!!!

2 Answers

Michael Austin
PLUS
Michael Austin
Courses Plus Student 7,814 Points

Hi,

This may be slightly confusing as it doesn’t give the measurements. You need to put dpi at the end:

device-pixel-ratio x 1 = 96dpi and then device-pixel-ratio of 2 = 96dpi x 2 = 192dpi

It maybe an error as the device-pixel-ratio of 1 question has the dpi at the end.

Chris Webb
PLUS
Chris Webb
Courses Plus Student 6,922 Points

i'm been going out of my mind on this question. Thanks for asking Paul and thanks for answering Michael!