Created
February 17, 2014 13:56
-
-
Save ntassone/9050989 to your computer and use it in GitHub Desktop.
Font Size REM Mixin
This file contains hidden or 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 font-size($sizeValue: 12 ){ | |
font-size: $sizeValue + px; //fallback for old browsers | |
font-size: (0.125 * $sizeValue) + rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment