Skip to content

Instantly share code, notes, and snippets.

@ErikFontanel
Created March 30, 2015 10:40
Show Gist options
  • Save ErikFontanel/85bd02fa472f1a30883d to your computer and use it in GitHub Desktop.
Save ErikFontanel/85bd02fa472f1a30883d to your computer and use it in GitHub Desktop.
mixins
@mixin clearfix {
&:after {
content: "";
display: table;
clear: both;
}
}
@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