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
In this video, we'll cover the :root and :target pseudo-classes. :root selects the highest-level parent element in a document, and :target selects an element when it's the target of a link.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
PLUS
Spencer Renfro
Courses Plus Student 11,133 Points1 Answer
-
baderbouta
7,804 Points2 Answers
-
Yosif Qassim
6,367 Pointsi want to learn how to make the animation that is provided in the teachers notes
Posted by Yosif QassimYosif Qassim
6,367 Points1 Answer
-
Andrew Husted
11,271 Points2 Answers
-
PLUS
Presica Mathew
Courses Plus Student 2,752 Points2 Answers
-
Mitchell Smit
9,219 Points3 Answers
-
Nikica Maksimovski
Full Stack JavaScript Techdegree Student 14,080 Points@keyframes meaning ?
1 Answer
-
Amber O'Rear
7,791 Points3 Answers
-
johnadi
3,690 Points2 Answers
-
Benjamin Hedgepeth
5,672 Points1 Answer
-
PLUS
YOUSSEF D
Courses Plus Student 3,778 Points2 Answers
-
XIN FANG ZHONG
10,149 Points2 Answers
-
Diego Murray
2,515 PointsCan someone elaborate on the :target pseudo class and how this is used exactly?
Posted by Diego MurrayDiego Murray
2,515 Points3 Answers
-
Diego Murray
2,515 PointsIs there a reason why Guil choses to use an RGBA value here for the box-shadow?
Posted by Diego MurrayDiego Murray
2,515 Points2 Answers
-
Rishit Shah
4,975 Points1 Answer
-
Jacob Bender
15,300 PointsCombine :hover and :target to activate without clicking
Posted by Jacob BenderJacob Bender
15,300 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