Jim Nielsen avatar 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 Defending Tailwind

    Donnie D'Amato avatar Donnie D'Amato

    Defending Tailwind

    The fact is folks who use Tailwind aren’t thinking about responsibility and scale in this way. They are thinking how can I push this out as fast as…