One of the most perplexing and befuddling things in CSS for me, for many years, was the behaviour of percentage-based heights. Sometimes, seemingly at random, setting height: 100% would have no effect at all. When I finally figured out what was going on, it was like a puzzle piece snapping into place; everything made so much more sense! In this post, I’ll share the epiphany I had, and we’ll explore some solutions.
Frontend
Source:https://www.joshwcomeau.com/css/height-enigma/
The Height Enigma
Josh Comeau0 views
Related posts
Content-Hashed Share Image Filenames: Helping Chat Apps Fetch Your New og:image (A Tested Node Build Step)
0dev.to
Clawd HQ: turn your Claude Code session into a team of specialist agents
0dev.to

Reviewing AI-Generated Pull Requests: A Checklist That Catches Real Bugs
0dev.to
Small SaaS Shipment Scheduling: Go Queue Push, HTTPS Webhooks, and Polling Workers
0dev.to Go
Modelling KEBS S-Mark Permits in an ERP: Product-Brand-Site Scope, Expiry Alerts and Label Validation
0dev.to Database
Does a Tiny Desk AI Clip Keep the Reference's Cuts and Camera Moves? Measuring Shot Timing With NumPy Phase Correlation (Tested)
0dev.to AI