nib icon indicating copy to clipboard operation
nib copied to clipboard

Fix flex-basis, flex-grow and flex-shrink for IE10 by adding -ms-flex-preferred-size, -ms-flex-positive and -ms-flex-negative

Open alexzel opened this issue 10 years ago • 3 comments

IE 10 uses the following format for flex property:

-ms-flex: <positive-flex> <negative-flex> <preferred-size>

And single props for each argument: -ms-flex-positive, -ms-flex-negative and -ms-flex-preferred-size (there is no flex-grow, flex-shrink and flex-basis in IE 10). I can't find an original ms doc for them, but I have tested and they are exist in IE10 and work for me. Also, for example, in autoprefixer-core they're used too for flex-basis, flex-grow and flex-shrink.

alexzel avatar Feb 04 '15 06:02 alexzel

+1 for this!

ghost avatar Oct 23 '15 01:10 ghost

+1 Thank you so much!

toannguyenhn avatar Sep 12 '18 04:09 toannguyenhn

Thank you @alexzel for that 👍

Wooody82 avatar Nov 16 '18 10:11 Wooody82