There is a lil’ UI detail on this blog. Most people don’t even notice it, but the ones who do often reach out, asking how on earth it works. It feels like it defies the rules of CSS! In this blog post, I’ll break down the surprisingly-straightforward implementation so you can start using this trick yourself.
Frontend
Source:https://www.joshwcomeau.com/css/header-blockers/
Sneaky Header Blocker Trick
Josh Comeau0 views
Related posts
Why Vanilla HTML, CSS, and JS Still Win for Fast Web Utility Platforms
0dev.to CSS
dvh Is Not a Keyboard Fix: Picking the Right Viewport Tool on Mobile
0dev.to CSS

Google's Modern Web Guidance: Give AI Coding Agents Up-to-Date Browser APIs
0dev.to CSS
Our third most used colour is #a3a3a3, 138 times, and the Tailwind we install does not have it any more
0dev.to CSS
We preload 52 KB of our brand typeface on every page, and the browser renders the system font
0dev.to CSS
Why CSS Utilities Clobber Each Other — And How @property + :where() Fixes Composition Forever
0dev.to CSS