3 ms·
> So what is the other interview question? The question would be "how do you handle browsers that don't support flexbox?" My answer would be to use Modernizr
by freshyill 12y ago
> So what is the other interview question?
The question would be "how do you handle browsers that don't support flexbox?"
My answer would be to use Modernizr to detect lack of flexbox support and write some fallback styles.
If you're supporting an extremely higher than average percentage of users on IE 9, then it's worth basing decisions on this fact. Globally IE 9 accounts for 2.13% of usage and that number isn't going up.
There's no way to really learn this stuff other than to just start doing it. Just write fallback styles to support crappier browsers and remember that pixel-perfect designs across browsers was never a realistic goal.