Skip to content

Instantly share code, notes, and snippets.

@mankutila
Created January 12, 2018 14:34
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 mankutila/7dd9158d9cb9ac574591608d9aebe696 to your computer and use it in GitHub Desktop.
Save mankutila/7dd9158d9cb9ac574591608d9aebe696 to your computer and use it in GitHub Desktop.
Flex space-between last row fix
.row {
display: flex;
flex-wrap: wrap;
justify-content:space-between;
}
.row:after {
content: "";
flex: auto;
flex-basis: 208px; //width of the other flex-items for right one-row display; if necessary
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment