Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generated by SassMeister.com.
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
$base-font-size: 1em;
$font-size-h1 : $base-font-size * 2.25; // 16 * 2.25 = 36px
$font-size-h2 : $base-font-size * 2; // 16 * 2 = 32px
$font-size-h3 : $base-font-size * 1.75; // 16 * 1.75 = 28px
$font-size-h4 : $base-font-size * 1.5; // 16 * 1.5 = 24px
$font-size-h5 : $base-font-size * 1.25; // 16 * 1.25 = 20px
@for $i from 1 through 5
h#{$i}{
font-size: $font-size-h${$i};
}
Invalid CSS after "...e: $font-size-h": expected ";", was "${$i};"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment