Skip to content

Instantly share code, notes, and snippets.

@ianrose
Created April 21, 2014 22:02
Show Gist options
  • Save ianrose/11158126 to your computer and use it in GitHub Desktop.
Save ianrose/11158126 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v0.7.0)
// ----
$ms-ratio1: 1.250; //major-third
$ms-ratio2: 1.5; //fifth
$base-size: 16px;
$ms-down1: round($base-size / $ms-ratio1);
$ms-down2: round($ms-down1 / $ms-ratio1);
$ms-down3: round($ms-down2 / $ms-ratio1);
$ms-up1: round($base-size * $ms-ratio1);
$ms-up2: round($ms-up1 * $ms-ratio1);
$ms-up3: round($ms-up2 * $ms-ratio1);
$ms-up4: round($ms-up3 * $ms-ratio1);
$ms-up5: round($ms-up4 * $ms-ratio1);
$ms-up6: round($ms-up5 * $ms-ratio1);
div {
font-size: $ms-down3;
font-size: $ms-down2;
font-size: $ms-down1;
font-size: $base-size;
font-size: $ms-up1;
font-size: $ms-up2;
font-size: $ms-up3;
font-size: $ms-up4;
font-size: $ms-up5;
font-size: $ms-up6;
}
div {
font-size: 8px;
font-size: 10px;
font-size: 13px;
font-size: 16px;
font-size: 20px;
font-size: 25px;
font-size: 31px;
font-size: 39px;
font-size: 49px;
font-size: 61px; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment