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
Stop hand-writing TypeScript types from API responses
0dev.to
Where a floating button must never appear on Android: a hand-kept deny list for payment apps, and the app's own category for games and video
0dev.to
Building and Evaluating a RAG System: A Practical, Evidence-First Guide
0dev.to
text-overflow: ellipsis Does Nothing in a Flex Row? Look at min-width
0dev.to
Opdo closes $2.3M pre-seed for AI optical engineering
0dev.to AI
A saved localStorage value made our CSS check look wrong
0dev.to CSS