:has()

Moment at 3:18 in Keeping up with CSS: The features released in 2023 by Kevin Powell.

Keeping up with CSS: The features released in 2023

Saved by Heartbeat Moments.