Skip to content

Instantly share code, notes, and snippets.

@mirisuzanne
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mirisuzanne/343bdc4fca70f77007ca to your computer and use it in GitHub Desktop.
Save mirisuzanne/343bdc4fca70f77007ca to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.1.0)
// ----
// uncomment the fraction line to break libsass...
$numbers: (
integer: 4,
decimal: .25,
// fraction: 1/4,
);
.test {
@each $key in map-keys($numbers) {
$number: map-get($numbers, $key);
#{$key}: if($number > 0, true, false);
}
}
.test {
integer: true;
decimal: true; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment