Created
October 20, 2013 19:53
-
-
Save jamiebuilds/7074443 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.7) | |
// ---- | |
@function calculateRem($size, $context: $base-font-size) | |
$remSize: $size / $context | |
@return $remSize + rem | |
$x-base: 16px | |
test | |
test: calculateRem(16px, $x-base) == "1rem" | |
test: calculateRem(16px, $x-base) == 1rem | |
test: calculateRem(16px, $x-base) == 1 + 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
test { | |
test: true; | |
test: false; | |
test: true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment