Since last year, WebKit supports many selectors defined in the draft of CSS Selectors Level 4. In this post, we will see a special subset of new selectors: new pseudo classes that take other selectors as arguments. Those are :matches(), :not(), :nth-child(), and :nth-last-child(). All the selectors discussed in this post work for styling with CSS, and for querying with JavaScript (querySelector(),