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 trialslim shady
Courses Plus Student 314 Pointswhat if i write like this:
what if i write like this:
header > span {
color: white;
font-size: 26px;
}
1 Answer
Steven Parker
231,261 PointsThat code would target every span
that is a direct child of the header
element. It would set the text in the span to a size of 26 pixels and color it white, which might make it invisible unless some other code is also used that colors the header itself or some other containing element.
Rich Donnellan
Treehouse Moderator 27,696 PointsRich Donnellan
Treehouse Moderator 27,696 PointsWhat is this in reference to?
I also updated your question to include proper syntax formatting.