2 ms·
There is a JS polyfill. It's relatively popular, but I've never tried it. https://github.com/jonathantneal/flexibility https://github.com/jonathantneal/flexibil
by ng12 10y ago
There is a JS polyfill. It's relatively popular, but I've never tried it. https://github.com/jonathantneal/flexibility https://github.com/jonathantneal/flexibility
- skrebbel 10y agoOh wow! Awesome, wish I knew before. This blows my mind, thanks!
- ry_ry 10y agoI'd be hesitant to use that in prod code - realistically you can achive fairly graceful degradation without it as long as you're prepared to accept a non pixel perfect layout. Also, from the issues v2.X that polyfill appears be broken in IE9 atm, which is the last one with zero flex going on. (Fun fact, our metrics have ie9 and 10 with comparable userbases - fairly standard large public facing site. 9 is fully unsupported and IE10 is no longer an active target for our QA team beyond basic layout and functionality) I do generally use a less mixin to shim all the tweener syntax tho.