Skip to content

Instantly share code, notes, and snippets.

@danrouse
Created January 28, 2015 02:11

Revisions

  1. danrouse created this gist Jan 28, 2015.
    10 changes: 10 additions & 0 deletions type-scale.scss
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    $font-scale: 1.333;
    $font-base-size: 1em;

    $font-size: $font-base-size;
    @for $i from 6 through 1 {
    h#{$i} {
    font-size: $font-size;
    }
    $font-size: $font-size * $font-scale;
    }