First of all, it is:
body { display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: flexbox; }
Must be:
body { display: -ms-flexbox; display: -webkit-flex; } @supports (flex-wrap: wrap) { body { display: flex; } }
This does not mean anything, because IE does not have the implementation of the 2009 Flexbox project:
body { -ms-box-orient: horizontal; }
You also added the moz prefix to the properties from the standard Flexbox draft, but Firefox implemented these prefixes for free (only 2009 properties must have the moz prefix).
Even if you fix all these things, it still wonβt work in Safari or Firefox. Why?
- Until iOS7 comes out, Safari is only implementing the 2009 Flexbox project. It does not implement
box-lines: multiple , which allows you to wrap it in this draft - Firefox implements the implementation of the project and the standard draft of 2009, but none of them supports packaging.
source share