:nth-child()pseudoclass and the of S clause
:nth-child( 2n of .star ) matches every other element with a class name of
To date, the of S clause is only supported by Safari, GNOME Web, and other browsers that use the WebKit Engine. If none of the stars below appear to have a green, dashed border, your browser does not yet support the of S clause.
Read the related article