News for hackers. Stuff that matters.
Re:Principles we use to write CSS for modern browsers by gbog on Thursday September 22, 2016 @10:41AM (#12557089)
I'm surprised there is no polyfill-like thing for flexbox, or is there?
Re:Principles we use to write CSS for modern browsers by skrebbel on Thursday September 22, 2016 @10:44AM (#12557103)
Can't be. Hm maybe with lots and lots of JS moving stuff around with absolute positioning, but otherwise you simply can't port flexbox to older css.
Re:Principles we use to write CSS for modern browsers by ng12 on Thursday September 22, 2016 @10:55AM (#12557209)
There is a JS polyfill. It's relatively popular, but I've never tried it. https://github.com/jonathantneal/flexibility
Re:Principles we use to write CSS for modern browsers by ry_ry on Thursday September 22, 2016 @02:45PM (#12559130)
I'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.

Re:Principles we use to write CSS for modern browsers by skrebbel on Thursday September 22, 2016 @02:24PM (#12558947)
Oh wow! Awesome, wish I knew before. This blows my mind, thanks!