Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- :nth-child 8:00
- :nth-of-type 4:30
- :nth Pseudo-Class Challenge 2 objectives
- :nth Pseudo-Class Challenge - Pt. 2 1 objective
- :root and :target 5:12
- :not() – The Negation Pseudo-Class 4:46
- Pseudo-Elements - ::first-line and ::first-letter 5:00
- Pseudo-Elements - ::before and ::after 8:13
- The attr() CSS Function 6:32
- Pseudo-Elements Challenge 4 objectives
- Advanced Selectors Review 6 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
The ::first-line and ::first-letter pseudo-elements let us target the first line of text and the first character in a line of text.
Quick Reference
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Ubo Town
3,227 Points3 Answers
-
mk37
10,271 Points1 Answer
-
Terri Valentine
23,034 Points1 Answer
-
Aiden Mitchell
5,572 Points4 Answers
-
Benjamin Hedgepeth
5,672 Points3 Answers
-
Tom Hackett
16,988 PointsProblem styling first letter, can anyone see what I'm doing wrong?
Posted by Tom HackettTom Hackett
16,988 Points7 Answers
-
John Fisher
7,974 PointsWhat's the difference between a Pseudo Class and a Pseudo Element?
Posted by John FisherJohn Fisher
7,974 Points2 Answers
-
Christopher Aporta
24,258 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up