Skip to content

Instantly share code, notes, and snippets.

@rymizuki
Created August 18, 2014 04:32
Show Gist options
  • Save rymizuki/94f05beb1696b783cf2c to your computer and use it in GitHub Desktop.
Save rymizuki/94f05beb1696b783cf2c to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
div.buttons
a.button--general sample
a.button--important sample
a.button--navigate sample
a.button--payment sample
// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// MathSass (v0.9.5)
// ----
@import "math";
@function square ($value) {
@return $value * $value;
}
.sample {
width: sqrt((square(80 / 2)) * 2);
}
.sample {
width: 56.56854;
}
<div class="buttons"><a class="button--general">sample</a><a class="button--important">sample</a><a class="button--navigate">sample</a><a class="button--payment">sample</a></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment