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
Christopher Anderson
1,601 Pointscan someone describe what this code does
border-bottom: 5px solid #599a68;
4 Answers
Julian Gutierrez
19,325 PointsThis is the short hand version of giving an element a bottom border with a thickness of 5px which is solid and the color #599a68.
jason chan
31,009 Pointsjason chan
31,009 PointsMilan Nikolic
24,365 Pointsthis code border-bottom: 5px solid #599a68; will add bottom border line 5px height with color #599a68.
Christopher Anderson
1,601 PointsChristopher Anderson
1,601 Pointsis the 5px being applied to the top
Julian Gutierrez
19,325 PointsJulian Gutierrez
19,325 PointsSince you are affecting the bottom-border you are adding 5px of border to the bottom of your targeted element.