Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
Add 2009 flexbox partial support for IE10
Browse files Browse the repository at this point in the history
  • Loading branch information
octave committed Aug 7, 2013
1 parent 74bcdc5 commit c986a72
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/assets/stylesheets/css3/_flex-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@mixin display-box {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox; // IE 10
display: box;
}

Expand All @@ -22,16 +23,19 @@
@mixin box-pack($pack: start) {
// start|end|center|justify
@include prefixer(box-pack, $pack, webkit moz spec);
-ms-flex-pack: $pack; // IE 10
}

@mixin box-align($align: stretch) {
// start|end|center|baseline|stretch
@include prefixer(box-align, $align, webkit moz spec);
-ms-flex-align: $align; // IE 10
}

@mixin box-direction($direction: normal) {
// normal|reverse|inherit
@include prefixer(box-direction, $direction, webkit moz spec);
-ms-flex-direction: $direction; // IE 10
}

@mixin box-lines($lines: single) {
Expand All @@ -41,10 +45,12 @@

@mixin box-ordinal-group($int: 1) {
@include prefixer(box-ordinal-group, $int, webkit moz spec);
-ms-flex-order: $int; // IE 10
}

@mixin box-flex($value: 0.0) {
@include prefixer(box-flex, $value, webkit moz spec);
-ms-flex: $value; // IE 10
}

@mixin box-flex-group($int: 1) {
Expand Down

0 comments on commit c986a72

Please sign in to comment.