Skip to content

Instantly share code, notes, and snippets.

@nicoavila
Created December 26, 2018 10:37
Show Gist options
  • Save nicoavila/310b0f73fc200dc5382749833d54269c to your computer and use it in GitHub Desktop.
Save nicoavila/310b0f73fc200dc5382749833d54269c to your computer and use it in GitHub Desktop.
Vertical & Horizontal Align with Flexbox CSS
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment