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
I ship audio as plain MP3 files, not an app
0dev.to WebDev
Trivy vs AWS Security Hub: Terraform Misconfiguration Scanning on AWS, Explained
0dev.to Security
10 JavaScript ES6+ Features to Learn Before React (With Examples)
0dev.to React

How We Built an Interactive Cat Universe in React 19 to Fund a Real-World Animal Sanctuary: Katpolis
0dev.to React

Meta Astryx: A Customizable React Design System Built for Teams and AI Agents
0dev.to React
Our five free tools have 32 inputs, zero form tags, and nothing you configure survives a reload
0dev.to React