Why Nostr? What is Njump?
2024-07-19 19:05:33

Mayank on Nostr: #CSS has come so far but it still feels so lacking when it comes to overflow and ...

#CSS has come so far but it still feels so lacking when it comes to overflow and sticky positioning.

sure, you can implement something like the holy grail layout using CSS grid, but that's usually a bad idea, because you give up all the optimizations that the "root scroller" comes with by default (such as keyboard scrolling and pull-to-refresh). https://codepen.io/hi_mayank/pen/GRaZXPg

so instead you're stuck with `position: sticky`, which means you also need to add `z-index`, `background` and `scroll-margin`.
Author Public Key
npub1ftxguws0g7ujpv2h7tdcu7j0s64u9cq5p5hmqgez27043znrd4csuvyzsr