CSS :has() Interactive Guide
Briefly

In this article, I will explore the problem and shed light on some of the interesting use cases for CSS :has().
The only possible way in CSS is to give a class to the <figure>, and then select the <figcaption> from that class. This is not doable when we have generated HTML content (e.g: an article body).
Read at Ishadeed
[
add
]
[
|
|
]