Hacker News new | ask | show | jobs
by silvestrov 1404 days ago
Example of this:

div:has(b) a

which matches a link inside a div that also contains bold text. The important part is that 'b' and 'a' can be very different places in the hierachy, they don't need to be same like like a 'b + a' selector.