Last active
April 27, 2016 08:38
-
-
Save qzm/350d8860d310db3215fb2e26ff39b7cf to your computer and use it in GitHub Desktop.
vertical align middle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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