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
Stop pricing Roblox passes in round numbers (work backwards from the payout)
0dev.to
Assembly Language for Beginners: Talk to Your Computer in Its Own Language
0dev.to
What my AI brief missed when I built an interactive three.js inn
0dev.to
tanstack router vs react router, my two cents
0dev.to
Warum ein 4K-Upscale die achtfache Dateigröße hat — und warum das oft kein Gewinn ist
0dev.to
The Claude Delusion
0Hacker News