Skip to content

Instantly share code, notes, and snippets.

@NicolasPio
Created March 9, 2016 13:29
Show Gist options
  • Save NicolasPio/69d7fa890a3a718c9bbb to your computer and use it in GitHub Desktop.
Save NicolasPio/69d7fa890a3a718c9bbb to your computer and use it in GitHub Desktop.
Mixin Vertical Align
@mixin vertical-align {
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