Chapter 5
CSS3 – Selectors, Typography, and Color Modes
Section 7
nth Rules
For the uninitiated, nth-based selectors can look pretty intimidating. However, once you've mastered the logic and syntax, you'll be amazed at what you can do with them. Let's take a look. This video covers: - Understanding What nth Rules Do - Demo on Implement nth-child and nth-last-child Rules - Demo on Use nth-of-type and :nth-last-of-type Rules - Demo on The Negation (:not) Selector - Demo on The Empty (:empty) Selector