Skip to content

Instantly share code, notes, and snippets.

@jsmeltzer
Created April 18, 2017 17:44
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 jsmeltzer/402d63e81689aaee12666e6395899d85 to your computer and use it in GitHub Desktop.
Save jsmeltzer/402d63e81689aaee12666e6395899d85 to your computer and use it in GitHub Desktop.
.aligner {
display: flex;
align-items: center;
}
.aligner-center {
display: flex;
align-items: center;
justify-content: center;
}
.aligner-item {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
}
.aligner-item--top {
align-self: flex-start;
}
.aligner-item--bottom {
align-self: flex-end;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment