Created
October 8, 2013 05:22
-
-
Save novrian/6879850 to your computer and use it in GitHub Desktop.
Strip Unit SASS Function
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
// Thanks to @robwierzbowski on github | |
// See https://github.com/nex3/sass/issues/533#issuecomment-11675408 | |
@function strip-units($value) { | |
@return $value / ($value * 0 + 1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment