CSS Pseudo-Class Guide (State, Structure, :has)
CSS pseudo-classes: :hover, :focus, :nth-child, form states, and :has. English tutorial and examples.