CSS Selectors eq: How to Pick the Nth Element Without jQuery’s :eq()
CSS selectors eq has no direct match, but :nth-child() and :nth-of-type() cover it. Learn the index shift, compound AND rules and when JavaScript is better.
CSS selectors eq has no direct match, but :nth-child() and :nth-of-type() cover it. Learn the index shift, compound AND rules and when JavaScript is better.
A CSS selector cheat sheet with one-line examples for type, class, ID, attribute, combinator and pseudo-class selectors, plus a quick way to test them.