Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexzel
Copy link
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

ghost commented Oct 23, 2015

+1 for this!

@toantrongvn
Copy link

+1 Thank you so much!

@Wooody82
Copy link

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