July 2008 web platform update
Now available in Safari on iOS
Limited availability
-
:nth-child() (initial support): The
:nth-child()
and:nth-last-child()
CSS functional pseudo-classes match elements by the relative position of elements (first, second, third, fourth, and so on), counted from the first or last sibling. Learn more.