What's New in CSS Selectors 4

Matt offers us a nice round-up of new selectors that will likely be a part of the CSS 4 Selectors Module. Notable additions:

  • :has - select an element based on children it contains,
  • :matches - a more compact way to select elements via alternate selector paths,
  • :not() in a stack - lets you combine multiple selectors not to match, using commas.
  • Column selection

Read on Matt Mastracci’s Blog