6 ms·
After doing front-end development for 10 years, I have come to the conclusion that 97.3% of all my annoyances with CSS would disappear if IE and Opera adopted t
by ned 16y ago
After doing front-end development for 10 years, I have come to the conclusion that 97.3% of all my annoyances with CSS would disappear if IE and Opera adopted the Flexible Box Model (http://www.w3.org/TR/css3-flexbox/ http://www.w3.org/TR/css3-flexbox/): vertical centering, scaling based on available space, constraints-based scaling, etc.
This is basic layout behaviours that I keep spending hours implementing in JS, which is slow and brittle, because you need fallbacks, etc.
- mdiamond 16y ago+1 for mentioning the Flexible Box Module. I'm ashamed to say I only discovered it recently, but that thing looks like a lifesaver. Now if only Opera and IE would get on board... http://caniuse.com/flexbox http://caniuse.com/flexbox