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 trialJeff Chabot
5,727 Pointsstyle the first rendered line of text in a paragraph.
We can use the ______ pseudo-element to style the first rendered line of text in a paragraph.
3 Answers
Tenzing Shema
8,503 Points::first-line
Jennifer Nordell
Treehouse TeacherHi there, Jeff Chabot! It's a pseudo-element. These are denoted by a preceding double colon or ::
. The quiz is clearly checking that you also know to precede a pseudo-element with the double colon
Hope this helps!
Jeff Chabot
5,727 Pointsisn't this the first-line class?