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 trialJordan Palmer
3,857 PointsWhy does Chrome's dev tools give a device width of 414 x 736 for iPhone 6 Plus, when actual res is 1080 x 1920?
Also, since mobile device resolution is often as big or bigger than non-retina desktop displays, can Bootstrap recognize mobile devices and change grid/column pixel width behaviour accordingly?
2 Answers
Gareth Bromser-Kloeden
9,938 PointsThere's a good explanation here:
http://blog.fluidui.com/designing-for-mobile-101-pixels-points-and-resolutions/
tl;dr iPhone screens are rendered first in "points" (414 x 736 for iPhone 6) to maintain consistency across different devices and then converted into the actual pixel resolution (1920 x 1080)
Steven Parker
231,275 PointsI don't know, but there's an easy work-around.
In the device choice drop-down, select "edit" and when that pops up click the "add custom device" button. Set 1080 x 1920 for the size, and if you want, name it "ACTUAL iPhone 6 Plus".
For mobile responsiveness, you could try overriding the default media queries in Bootstrap with some having very narrow ranges (perhaps only the exact dimension) combined with orientation. Still, you'd have a very high likelihood of identifying a particular device, but not a certainty.