Skip to content

Instantly share code, notes, and snippets.

@snowman-repos
Created February 13, 2014 02:51
Show Gist options
  • Save snowman-repos/8968892 to your computer and use it in GitHub Desktop.
Save snowman-repos/8968892 to your computer and use it in GitHub Desktop.
Set a rem font size with pixel fallback
font-size($size = 16)
font-size $size px
font-size ($size / 16) rem
line-height ($size / 16) * 1.624
line-height ($size / 16) * 1.624 rem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment