Skip to content

Instantly share code, notes, and snippets.

Created Mar 6, 2014
What would you like to do?
CSS vertical center, IE9+
/* src: */
.vcenter {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment