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
8 copy-paste replies for when a client asks for extra work
0dev.to

Why Your Sidebar Icons Look Inconsistent-Even at the Same Size
0dev.to
Why Your Testers Can't Opt In: Fixing Google Play's Opt-In Friction
0dev.to
How Glass reads generic method instantiations
0dev.to
How exception handlers hide .NET control flow
0dev.to
How your client edits the content when an AI built the website
0dev.to