Skip to content

Instantly share code, notes, and snippets.

@cosmicwheels
Created February 3, 2018 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cosmicwheels/3d058254774785fc96e110c7e0aba71a to your computer and use it in GitHub Desktop.
Save cosmicwheels/3d058254774785fc96e110c7e0aba71a to your computer and use it in GitHub Desktop.
.gallery-container{
display:flex;
flex-wrap: wrap;
flex-direction: row;
}
.gallery-container>div.gallery{
float:none;
display: flex;
flex-basis: calc(50% - 14px);
flex-direction: column;
align-content:flex-start;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment