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 Introducing the Practice

does anyone have good css sample solutions of the box model

No details

1 Answer

Steven Parker
Steven Parker
229,732 Points

This might be useful.

While not "sample solutions", this excellent interactive box-model demo can be very useful for experimenting with various settings to become familiar with the aspects of the box model, including the difference between content-box and border-box.

Steven Parker
Steven Parker
229,732 Points

There seems to be something wrong with his github account.

But apparently someone has implemented the same thing on Codepen.