We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
#38
@mixin flexbox { display: -webkit-box; display: -webkit-flex; 馃敶display: -moz-box; display: -moz-flex; display: -ms-flexbox; display: flex; }
@mixin inline-flex { display: -webkit-inline-box; display: -webkit-inline-flex; display: -moz-inline-flex; 馃敶display: -moz-inline-box; display: -ms-inline-flexbox; display: inline-flex; }
@mixin justify-content($value: flex-start) { @if $value == flex-start { -webkit-box-pack: start; -ms-flex-pack: start; 馃敶-moz-box-pack: start; } @else if $value == flex-end { -webkit-box-pack: end; -ms-flex-pack: end; 馃敶-moz-box-pack: end; } @else if $value == space-between { -webkit-box-pack: justify; -ms-flex-pack: justify; 馃敶-moz-box-pack: justify; } @else if $value == space-around { -ms-flex-pack: center; } @else { -webkit-box-pack: $value; -ms-flex-pack: $value; 馃敶-moz-box-pack: $value; } -webkit-justify-content: $value; -moz-justify-content: $value; justify-content: $value; }
@mixin align-items($value: stretch) { @if $value == flex-start { -webkit-box-align: start; -ms-flex-align: start; 馃敶-moz-box-align: start; 馃敶-ms-grid-row-align: start; } @else if $value == flex-end { -webkit-box-align: end; -ms-flex-align: end; 馃敶-moz-box-align: end; 馃敶-ms-grid-row-align: end; } @else { -webkit-box-align: $value; -ms-flex-align: $value; 馃敶-moz-box-align: $value; 馃敶-ms-grid-row-align: $value; } -webkit-align-items: $value; 馃敶-moz-align-items: $value; align-items: $value; }
// No Webkit Box fallback. -webkit-flex-wrap: $value; -moz-flex-wrap: $value; @if $value == nowrap { 馃敶-ms-flex-wrap: nowrap; } @else { 馃敶 -ms-flex-wrap: $value; } flex-wrap: $value;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The mixin is great! But you forgot the moz-box.
#38
And -ms-flex-wrap is nowrap not none
The text was updated successfully, but these errors were encountered: