Skip to content

Instantly share code, notes, and snippets.

@EdPoole
Created August 13, 2014 14:50
Show Gist options
  • Save EdPoole/80d218acf4e5c8508a41 to your computer and use it in GitHub Desktop.
Save EdPoole/80d218acf4e5c8508a41 to your computer and use it in GitHub Desktop.
.centered-content {
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