What is Nostr?
Šime Vidas /
npub1nyz…wavc
2024-02-24 16:03:47

Šime Vidas on Nostr: X:has(Y) = X that contains Y X:has(> Y) = X that has a child Y X:has(+ Y) = X that ...

X:has(Y) = X that contains Y
X:has(> Y) = X that has a child Y
X:has(+ Y) = X that has a next sibling Y
X:not(:has(Y)) = X that doesn’t contain Y
X:has(Y):has(Z) = X that contains Y and Z
X:has(Y, Z) = X that contains Y or Z

What other useful (simple) selector patterns with :has() are there?

(https://ishadeed.com/article/css-has-guide)
Author Public Key
npub1nyzm4ujq6ex8hvf74jrmxpl0p8h0g56upmdgxjv8gze72g4vn5ysjnwavc