Skip to content

Instantly share code, notes, and snippets.

@Onepo1ntFive
Created April 3, 2017 11:39
Show Gist options
  • Select an option

  • Save Onepo1ntFive/7f7229254316977dec82a53c6d0a466a to your computer and use it in GitHub Desktop.

Select an option

Save Onepo1ntFive/7f7229254316977dec82a53c6d0a466a to your computer and use it in GitHub Desktop.
.parent {
margin: 0 -10px;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
}
.parent .child {
-webkit-flex: 1 auto;
flex: 1 auto;
padding: 0 10px;
margin-bottom: 20px;
width: 33.33%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment