Skip to content

Instantly share code, notes, and snippets.

@qzm
Last active April 27, 2016 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qzm/350d8860d310db3215fb2e26ff39b7cf to your computer and use it in GitHub Desktop.
Save qzm/350d8860d310db3215fb2e26ff39b7cf to your computer and use it in GitHub Desktop.
vertical align middle
.className1 {
min-height: 6.5em;
display: table-cell;
vertical-align: middle;
}
.className2 {
height: 100px;
line-height: 100px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment