Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Where are you getting the specific pixel breakpoints for the media queries? How do you know which numbers to use?

Curious if there is a guide or something to the breakpoints you are using? How are you coming up with those specific breakpoints?

2 Answers

Nicholas Grenwalt
Nicholas Grenwalt
46,626 Points

Chrome has an awesome extension called Window Resizer that works wonders. Allows you to adjust your browser window to specified dimensions based on popular devices. You should definitely check it out.

Thank you.

James Procter
James Procter
12,865 Points

Nicholas Grenwalt solution is the best way in my opinion, but if for whatever reason you don't want chrome extensions downloaded on your machine you can still find out screen sizes of popular devices by clicking chrome's menu tab in the top right corner, more tools, developer tools (shortcut: ctrl+shift+i).

This open up the code panel, in the top left corner is a mobile icon. Click this and you can select the various devices, see the screen size and and how your site looks on each screen.

Thank you for your info.