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 CSS Selectors Advanced Selectors Advanced Selectors Review

Jeff Chabot
Jeff Chabot
5,727 Points

style 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

::first-line

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi 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 :smiley:

Hope this helps! :sparkles:

Jeff Chabot
Jeff Chabot
5,727 Points

isn't this the first-line class?