The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

DOM Hierarchy Pseudo Classes :first-child :last-child :nth-child (demystified)

DOM Hierarchy Pseudo Classes :first-child :last-child :nth-child (demystified)

3:00
DOM hierarchy pseudo-classes allow you to style specific elements based on where they fall in the hierarchy and what type of elements they are. You can also use :nth-child to target custom element patterns, like every other element.
Watch this lesson now
Avatar
egghead.io

DOM hierarchy pseudo-classes allow you to style specific elements based on where they fall in the hierarchy and what type of elements they are. You can also use :nth-child to target custom element patterns, like every other element.

Avatar
Jaime Rocha

What is the name of that atom theme?

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?