Skip to content

Instantly share code, notes, and snippets.

View torbentschechne's full-sized avatar

Torben Tschechne torbentschechne

View GitHub Profile
@michsch
michsch / _config.scss
Created July 19, 2012 11:29
Font size configuration with Sass (SCSS)
/* font size & line height in px */
$font-size-body-px: 14;
$line-height-px: 21;
/* calculate font-size (in %) and line-height (in em) */
$font-size-body: pc($font-size-body-px, 16);
$line-height: em($line-height-px, $font-size-body-px);