Why Nostr? What is Njump?
2024-09-09 22:07:30

Chris Coyier on Nostr: *"Regardless of where it is in the DOM."* Isn't it cool how many HTML and CSS ...

*"Regardless of where it is in the DOM."*

Isn't it cool how many HTML and CSS features free us from awkwardly constrained DOM order and position?

• `:has()` — Select any element based on any other element in CSS up and down the DOM.
• Anchor Positioning — Position any element based on any other element, up and down the DOM.
• Popover/Dialog — Put these wherever, it doesn't matter, they will rise to the top and be visible no matter where they are in the DOM.

Will it make us sloppy? Nah.
Author Public Key
npub1vpd9m43x7234y73kavn5r89r5uljrnqqr23duftrx2vhn0x4u76qdet94n