Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gearmobile/68f864b5c3b1bcab3f29 to your computer and use it in GitHub Desktop.
Save gearmobile/68f864b5c3b1bcab3f29 to your computer and use it in GitHub Desktop.
Horizontal and Vertical Align Element via Flexbox
.container {
display: flex;
align-items: center;
justify-content: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment