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 Layout Basics Getting Started with CSS Layout Using a Mobile First Approach

What's so important about using box-sizing here?

I get that Guil want's the container to stay at 70% of the screen width or max-width 1000px. But is it realistic to be this precise for the size here even though they both look the same despite the small pixel difference?

1 Answer

Reggie Williams
STAFF
Reggie Williams
Treehouse Teacher

Hey Kirt Perez with web development precision is definitely important in order to create the best and most consistent layouts that work across different screen sizes. Check out this article for more on box-sizing https://blog.teamtreehouse.com/take-control-of-the-box-model-with-box-sizing