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
Vincent K
3,356 PointsFull HD Smartphones and Media Queries
Hi guys, im doing Media Queries right now and i think its a cool solution. Now i got a few questions though.
My Samsung Galaxy S4 has a screen size of 5inch and a screen resolution of 1920x1080px (441ppi). Also the Ipad3, 4 and Air all have 2k resolution i think. Im just wondering with all the new smartphones that come out with HD displays how could one set the Media Queries?
I thought one could set the known and established mobile resolutions that are rarely used on notebooks or desktops? Or is there a way to check instead the PPI? Desktop/Notebook's rarely exceed 180ppi, Highres displays with an ppi of 200 or over could be set to mobile CSS regardless of Full HD resolution. What is the going practice in the techworld? Thanks! :)
1 Answer
Jason Anello
Courses Plus Student 94,610 PointsThis link should help you out:
http://www.broken-links.com/2012/07/13/using-media-queries-to-test-device-resolution/
You can use resolution and device-pixel-ratio