Jim Nielsen

A Previous Sibling Selector

Screenshot of “A Previous Sibling Selector”

This is really clever, I hope we'll get support for :has() everywhere soon!

I can remember a time when it was difficult to find selectors that would target all your use cases. But now-a-days, with the powerful new selectors we’re getting in CSS like :where(), :is(), :not(), and :has(), I rarely need to target something for which I cannot find a selector. It’s amazing!


  1. screenshot of The New CSS

    Matthias Ott avatar Matthias Ott

    The New CSS

    This is the new CSS. The most powerful design tool for the Web ever. Only by using CSS, you can leverage what the platform is now capable of. Only…