Last active
February 11, 2018 10:28
-
-
Save spemer/5bffc280e3cc3213d02b94a3aea7a941 to your computer and use it in GitHub Desktop.
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
// set default font-size | |
@function getRem($size) { | |
$rem: $size / 16px; | |
@return $rem * 1rem; | |
} | |
@mixin font-size($size) { | |
font-size: $size; | |
font-size: getRem($size); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment