Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save voodooGQ/2864054 to your computer and use it in GitHub Desktop.
Save voodooGQ/2864054 to your computer and use it in GitHub Desktop.
CSS: Vertical align center (without line-height)
.v-center, .vertical-center, .v-middle, .vertical-middle {
display: table-cell;
vertical-align: middle;
}
@fhoseiny13
Copy link

V13.jar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment