nib
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
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.
+1 for this!
+1 Thank you so much!
Thank you @alexzel for that 👍