Created
February 17, 2014 13:56
-
-
Save ntassone/9050998 to your computer and use it in GitHub Desktop.
Line Height REM Mixin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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