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 trialZoey Kim
Front End Web Development Techdegree Student 1,589 Pointsborder color
on the video around 1:10 it explains that since we didn't set up border color it follows the text color from header: ghostwhite; But when I learned in CSS basic, I thought border does not affected by inheritance. Can somebody explain about border property?
1 Answer
Steven Parker
231,275 PointsBorder color is not inherited from the parent element, but it defaults to the foreground (text) color of the current element if it is not explicitly set.