4 ms·
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 pl
by silvestrov 4y 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.