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

Kendall Chung
Kendall Chung
9,511 Points

768px and 769px? 1024px and 1025px?

Hello all!

I was wondering if there is a reason behind choosing 768px or 769px and 1024px or 1025px for web design when making the website responsive? or is it just a preference?

THANKS!

2 Answers

Steven Parker
Steven Parker
221,328 Points

It depends on how they are used.

A max-width of 768 and a min-width of 769 are two sides of the same breakpoint.

If they are both used as min-width, 768 would be "an iPad or larger", and 769 would be "anything larger than an iPad in portrait orientation".

Too bad you can't share a link to the video (well, you can, but only another techdegree student can use it).

Kendall Chung
Kendall Chung
9,511 Points

thanks very much! that was the answer I was looking for.

oh really? I did not know that.

Steven Parker
Steven Parker
221,328 Points

:point_right: These are the screen widths of common devices.

These particular dimensions are probably based on an iPad.

Kendall Chung
Kendall Chung
9,511 Points

yeah but I am doing the techdegree and in the videos the teachers are using 769. but in the assignment, they are telling us to scale it to 768. I was wondering if there was a correlation? Sorry I was probably not specific enough. Not splitting hairs just really curious. Thanks!