Why Nostr? What is Njump?
2023-08-20 10:49:53

ppk 🇪🇺 on Nostr: #css :has()-related insight of the day: div:has(h2,p) is an OR div:has(h2):has(p) is ...

#css :has()-related insight of the day:

div:has(h2,p) is an OR
div:has(h2):has(p) is an AND

The first selects all divs that contain an h2 or a p or both.

The second selects all divs that contain both an h2 and a p.
Author Public Key
npub1l88kjjtfxmmqw46m3v6vmk3se3dhzanen6w0cjfvyfkgzh88vp9qjpyagz