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) The Box Model Borders

Did the course instructor missed, creation of fluid border? Is that same usage of rem or em as we did before?

Is fluidity regarding a border is important at all!

I'm wondering the same thing, I don't know how Guil made that fluid border. I think it might be a transparent gradient in the background, but I'm not sure.

1 Answer

craigschotchii
craigschotchii
9,115 Points

This question intrigued me so I searched abit for an answer. I believe what you might be looking for is the 'box-sizing: border-box;' css property which then uses the width property as the actual width and includes the padding and border within thereby letting percentage values not be ruined by a px border.

http://www.w3schools.com/cssref/css3_pr_box-sizing.asp

I'm not talking about box-sizing, I am talking about how the background lake tahoe image for the header has a super smooth transition on the edges.