Skip to content

Instantly share code, notes, and snippets.

@chaosbytes
Created May 17, 2016 13:34
Show Gist options
  • Save chaosbytes/bb93399c8d1f507a8a88d2cf7a27d510 to your computer and use it in GitHub Desktop.
Save chaosbytes/bb93399c8d1f507a8a88d2cf7a27d510 to your computer and use it in GitHub Desktop.
.element {
position: relative;
top: 50%;
transform: translateY(-50%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment