Created
October 16, 2013 15:10
-
-
Save greylabel/7009259 to your computer and use it in GitHub Desktop.
height-lineheight.scss
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 height-lineheight($height) | |
* | |
* Allows single-line vertical centering of text | |
* | |
* @param: $height | |
* height of element, text will centern vertically within | |
*/ | |
@mixin height-lineheight($height){ | |
height: $height; | |
line-height: $height; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment