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

The Effort to Reach: Designing for Fitts’s Law
0dev.to UX
GitHub’s New Dependabot Verdict Can Lag Behind Your Next Commit
0dev.to GitHub

Document Review With Unsiloed and TypeSafe Jev
0dev.to Machine Learning
AmeriHealth Caritas Files 61-Worker WARN Notice in Orlando, Effective December 31, 2026
0dev.to Career
Remote SWE Jobs Paying Up to $220k (Nov 2)
0dev.to Career
What are your goals for the week? #203
0dev.to Career