Skip to content

Instantly share code, notes, and snippets.

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 webdesignberlin/3d712301a9bde616ddf1 to your computer and use it in GitHub Desktop.
Save webdesignberlin/3d712301a9bde616ddf1 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