
CSS `n of` Selectors for Conditional Validation
:nth-child supports the keyword `of` in the argument which can be super useful on it's own. Combo that with a :has() selector to do some pretty wild stuff!
frontendmasters.com/blog/css-n-of-…
English












