This course has been updated! We now recommend you take the CSS In-Depth, v2 course.

Check out a free preview of the full CSS3 In-Depth course:
The "Structural UI pseudo-classes" Lesson is part of the full, CSS3 In-Depth course featured in this preview video. Here's what you'd learn in this lesson:

UI pseudo-classes can also target elements based on their relationship to other elements in the DOM. The first step is to understand the difference between child and type. Nth pseudo-classes target elements based on arguments passed to the selector.

Get Unlimited Access Now