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 trialJeremy Yochum
Front End Web Development Techdegree Graduate 16,023 PointsMedia queries not reacting at the correct width
When I created a media query for the navigation at the bottom of the page with a min-width of 730px the change in my browser happens at 714px. The same thing happens with the box-model image. My media query is created to change at 600px, but the change actually happens at 582px. Why is the change happening at a lower width than the one I specified?
2 Answers
Elfar Oliver
3,924 PointsCould you snapshot your workspace for us?
Blane Winstead
3,446 Pointsdid you set box-sizing: border-box;?
Jeremy Yochum
Front End Web Development Techdegree Graduate 16,023 PointsYes, I have a universal selector set to border-box