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

CSS CSS Basics (2014) Enhancing the Design With CSS Media Query Basics

Taylor Leach
Taylor Leach
12,348 Points

Media Query predetermined sizes ?

I don't think its mentioned in any of the videos, but why exactly are the dimensions specified for the media queries what they are? To my knowledge, it is the pixel width of an iPhone and an iPad?

1 Answer

Kevin VanConant
Kevin VanConant
1,833 Points

The dimensions used in the videos are some of the standard phone and tablet sizes. It's just close to the standards. You wouldn't want to go layout every size of every phone and tablet. So those are just the basic sizes.

Taylor Leach
Taylor Leach
12,348 Points

That's what I was assuming as I have dealt with them before. It wasn't expressed in any of the videos and I am sure some would be confused

Kevin VanConant
Kevin VanConant
1,833 Points

Yeah mentioning that in the video wouldn't hurt.