Skip to content

Instantly share code, notes, and snippets.

@alexshive
Last active December 24, 2015 10:49
Show Gist options
  • Select an option

  • Save alexshive/6787034 to your computer and use it in GitHub Desktop.

Select an option

Save alexshive/6787034 to your computer and use it in GitHub Desktop.
REM Font mixin
// credit to: https://coderwall.com/p/_7wmcg
$base-font-size: 16;
@mixin rem-font($pixels) {
font-size: $pixels + px;
font-size: ( $pixels / $base-font-size ) + rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment