Created
September 3, 2017 16:30
-
-
Save nandomoreirame/763fa7b1a5db0b39455b738a1d037593 to your computer and use it in GitHub Desktop.
pxToRem.sass
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
| /// @argument {number (with unit)} $px | |
| /// | |
| /// @access public | |
| @function pxToRem($px) | |
| @return (round(remove-unitless($px)) / remove-unitless($font-size-base-px))+rem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment