Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flexbox in IE10

I'm trying to get flex box working in IE10 but it's not working. Safari, Chrome and Firefox are working fine, but IE10 doesn't wanna work. Anyone knows the answer?

codepen: http://codepen.io/anon/pen/vcEGH/

  display: -moz-box;              /* OLD - Firefox 19- (doesn't work very well) */
  display: -ms-flexbox;           /* TWEENER - IE 10 */
  display: -webkit-flex;          /* NEW - Chrome */
  display: flex;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */

  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  -ms-flex-direction: row;
  -webkit-flex-direction: row;
  flex-direction: row;

  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;

  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
like image 600
user3071261 Avatar asked Apr 12 '14 14:04

user3071261


People also ask

Does ie10 support flexbox?

The two browsers you should still keep in mind for cross-browser compatibility are: Internet Explorer 10, which implemented the display: flexbox version of the specification with the -ms- prefix. UC Browser, which still supports the 2009 display: box version only with the -webkit- prefix.

Does IE9 support flexbox?

I know IE9 does not implement Flexbox, so please don't insult the research I have already done. I need an equivalent implementation that will allow me to change the HTML as little as possible. Well, the #navContainer element is the one that is causing the out of flow problem for IE9.

Does EDGE support Flex?

Flex UI Agent Desktop now supported in Microsoft Edge GA Twilio Flex's Agent Desktop has been tested in Microsoft Edge, which can now be used as a supported browser for Flex UI versions 1.31.

Is flexbox deprecated?

Will CSS Grid make Flexbox Obsolete in the Future? Absolutely not. In fact, that's what this article was about. CSS grid and Flexbox, both are designed to solve a different set of problems.


1 Answers

For IE10 , span should be displayed as inline-block to trigger layout somehow .


Test here if it fixes it : http://codepen.io/gc-nomade/pen/lhsEt

like image 64
G-Cyrillus Avatar answered Sep 23 '22 12:09

G-Cyrillus