Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
IE10 uses display: -ms-flexbox, not display: -ms-flex
Browse files Browse the repository at this point in the history
  • Loading branch information
jayj committed Oct 7, 2013
1 parent 85ca222 commit 4e15423
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion less/mixins.less
Expand Up @@ -354,13 +354,15 @@
// CSS3 flexbox
// http://css-tricks.com/old-flexbox-and-new-flexbox/
// http://www.w3.org/TR/css3-flexbox
// https://gist.github.com/jayj/4012969
// --------------------------------------------------

// flex or inline-flex
.flex-display(@display: flex) {
display: ~"-webkit-@{display}";
display: ~"-moz-@{display}";
display: ~"-ms-@{display}";
display: ~"-ms-@{display}box"; // IE10 uses -ms-flexbox
display: ~"-ms-@{display}"; // IE11
display: @display;
}

Expand Down
1 change: 1 addition & 0 deletions style.css
Expand Up @@ -491,6 +491,7 @@ caption {
.flexbox .site-header .home-link {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: -ms-flex;
display: flex;
}
Expand Down

0 comments on commit 4e15423

Please sign in to comment.