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

what if i write like this:

what if i write like this:

header > span {
   color: white;
   font-size: 26px;        
}
Rich Donnellan
Rich Donnellan
Treehouse Moderator 27,696 Points

What is this in reference to?

I also updated your question to include proper syntax formatting.

1 Answer

Steven Parker
Steven Parker
231,248 Points

That 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.