CSS :has() Examples

Here are some real world use cases and examples of the CSS :has() selector.

Choose an example to see :has() in action!


Wes' original tweet:


Listen to Wes and Scott talk about :has in episode #714:


Watch CJ go through these examples on YouTube: