Skip to content

Instantly share code, notes, and snippets.

@themasch
Last active August 29, 2015 14:06
Show Gist options
  • Save themasch/601979e81a40271d40c3 to your computer and use it in GitHub Desktop.
Save themasch/601979e81a40271d40c3 to your computer and use it in GitHub Desktop.
.flexTileContainer {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
margin: -0.5rem;
}
.flexTile {
margin: 0.5rem;
-webkit-box-flex: 1;
-moz-box-flex: 1;
-webkit-flex: auto;
-moz-flex: auto;
-ms-flex: 1 1 0%;
-o-flex: auto;
flex: auto;
background-color: rgba(255, 255, 25, 0.4);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment