Skip to content

Instantly share code, notes, and snippets.

@gearmobile
Created May 28, 2015 19:02
Show Gist options
  • Save gearmobile/59178948009abdad3e31 to your computer and use it in GitHub Desktop.
Save gearmobile/59178948009abdad3e31 to your computer and use it in GitHub Desktop.
Element has unknown width and height - flexbox
.parent {
display: flex;
justify-content: center;
align-items: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment