Skip to content

Instantly share code, notes, and snippets.

@ntassone
Created February 17, 2014 13:56
Show Gist options
  • Save ntassone/9050998 to your computer and use it in GitHub Desktop.
Save ntassone/9050998 to your computer and use it in GitHub Desktop.
Line Height REM Mixin
@mixin line-height($heightValue: 12 ){
line-height: $heightValue + px; //fallback for old browsers
line-height: (0.125 * $heightValue) + rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment