Skip to content

Instantly share code, notes, and snippets.

@jiguang
Created May 27, 2014 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jiguang/27702854bdc9ca58577b to your computer and use it in GitHub Desktop.
Save jiguang/27702854bdc9ca58577b to your computer and use it in GitHub Desktop.
flex box
%box{
display: box;
display: -ms-box;
display: -webkit-box;
display: flex;
display: -ms-flexbox;
display: -webkit-flex;
}
%flex{
display: block;
flex: 1;
-ms-flex: 1;
-webkit-flex: 1;
box-flex: 1;
-ms-box-flex: 1;
-webkit-box-flex: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment