Created
February 28, 2013 18:12
-
-
Save kylefiedler/5058830 to your computer and use it in GitHub Desktop.
line-height function
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
// Line height function to quickly and easily calculate values for a baseline or near baseline grid. | |
// eg. padding: lh(.5) 0; | |
$line-height: 24px; | |
@function lh($amount: 1) { | |
@return $line-height * $amount; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment