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

Share this video with your friends

Send Tweet

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.

Jaime Rocha
~ 8 years ago

What is the name of that atom theme?

Garth Braithwaiteinstructor
~ 8 years ago