Enter Your Email Address to Watch This Lesson

Your link to unlock this lesson will be sent to this email address.

Unlock this lesson and all 985 of the free egghead.io lessons, plus get CSS content delivered directly to your inbox!



Existing egghead members will not see this. Sign in.

Target Positional Elements Using *-Of-Type CSS pseudo-classes

2:43 CSS lesson by

Learn how to target elements based on their position inside of a parent element in relation to its siblings.

Get the Code Now
click to level up

egghead.io comment guidelines

Avatar
egghead.io

Learn how to target elements based on their position inside of a parent element in relation to its siblings.

Avatar
Aaron

Code is missing here.

Avatar
Fabio Bedini

Quite sloppy stuff :(

In reply to Aaron
Avatar
matthew-condit

Please update the code section

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