AtoZ CSS

AtoZ CSS Episode 14: Nth-child


Listen Later

:nth-child is a pseudo class used to select elements by a numeric expression. The syntax is quite different to most other aspects of CSS and can be a bit tricky to get your head around to begin with. In this episode we'll look at the various ways of using :nth-child, the slightly more flexible :nth-of-type selector and their counterparts selectors :nth-last-child and :nth-last-of-type.
...more
View all episodesView all episodes
Download on the App Store

AtoZ CSSBy Guy Routledge: front-end developer, teacher and screencaster