-
-
Save alyssawilliams/37c19a86e33fba5f8477e3ea158e67ab to your computer and use it in GitHub Desktop.
Sass function that converts pixels to rem
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
@function rem($pixels, $base: 16) { | |
@return #{$pixels/$base}rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment