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
Found 380 eMudhra-Linked Root Certificates on My Laptop
0Hacker News New
A five-minute triage for remote-desktop lag
0dev.to
What the Water Keeps – Reverse-engineered Three.js source of the Fable 5.2 game
0Hacker News New
Auditing every tool on my site against open source, and what changed
0dev.to
808 Articles In, Antigravity Wants the Plan Written in Python First
0dev.to
Check the Exit the Internet Sees: Looking Up Your Own IP on IP99
0dev.to