Why Nostr? What is Njump?
2024-05-01 13:42:20

Patrick H. Lauke on Nostr: PSA: `:only-child`. `:last-child`, `:first-child` in #css ignore text nodes ... so if ...

PSA: `:only-child`. `:last-child`, `:first-child` in #css ignore text nodes ... so if you have something like `<li>some text <a href="#">and a link</a></li>` but you're trying to only target list items that ONLY contain a link and nothing else, `li > a:only-child` will still apply to the above...

https://codepen.io/patrickhlauke/pen/xxeNzvw
Author Public Key
npub16uxtdywqarmtmwncjtewnv2uppf9wsaemyhckrmud7734uzl7agsy76zay