Skip to content

Instantly share code, notes, and snippets.

@malrase
Created October 6, 2014 22:41
Show Gist options
  • Save malrase/7b8f1f58a2b356aac923 to your computer and use it in GitHub Desktop.
Save malrase/7b8f1f58a2b356aac923 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v2.0.0)
// ----
@function measure-margin($scale, $measure, $unit) {
@return ($measure/$scale)#{$unit};
}
.test {
margin: measure-margin(10, 100, rem);
}
.test {
margin: 10 rem; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment