Here’s how to use the new :has selector in @TailwindCSS. This also shows how you can use older pseudo-classes like :nth-child and :nth-of-type in Tailwind (and it applies to using the adjacent sibling selector too): … You can’t.| adactio.com