Skip to content

Instantly share code, notes, and snippets.

@MoritzBuetzer
Created April 14, 2016 07:15
Show Gist options
  • Select an option

  • Save MoritzBuetzer/437731b739b2107317f41ec4aa23b4f1 to your computer and use it in GitHub Desktop.

Select an option

Save MoritzBuetzer/437731b739b2107317f41ec4aa23b4f1 to your computer and use it in GitHub Desktop.
Vertical align center
.vertical-align-center {
display: -webkit-flex;
-webkit-flex-direction: column;
-webkit-justify-content: center;
display: flex;
flex-direction: column;
justify-content: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment