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 trialKendall Chung
9,511 Points768px 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
231,275 PointsIt 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).
Steven Parker
231,275 PointsThese are the screen widths of common devices.
These particular dimensions are probably based on an iPad.
Kendall Chung
9,511 Pointsyeah 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!
Kendall Chung
9,511 PointsKendall Chung
9,511 Pointsthanks very much! that was the answer I was looking for.
oh really? I did not know that.