Skip to content

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

Open
alexzel wants to merge 1 commit intostylus:masterfrom
alexzel:master
Open

Fix flex-basis, flex-grow and flex-shrink for IE10 by adding -ms-flex-preferred-size, -ms-flex-positive and -ms-flex-negative#299
alexzel wants to merge 1 commit intostylus:masterfrom
alexzel:master

Conversation

@alexzel
Copy link
Copy Markdown
Contributor

@alexzel alexzel commented Feb 4, 2015

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.

-ms-flex-preferred-size, -ms-flex-positive and -ms-flex-negative
@ghost
Copy link
Copy Markdown

ghost commented Oct 23, 2015

+1 for this!

@ntrongtoan
Copy link
Copy Markdown

+1 Thank you so much!

@Wooody82
Copy link
Copy Markdown

Thank you @alexzel for that 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants