Skip to content

Instantly share code, notes, and snippets.

@nepsilon
Last active December 28, 2015 21:09
Show Gist options
  • Save nepsilon/7562120 to your computer and use it in GitHub Desktop.
Save nepsilon/7562120 to your computer and use it in GitHub Desktop.
Font size px to em reference table with 16px as default font size.

Font size table

Browser default 16px

pixels relative
36px 2.25em
31px 0.5161em
24px 1.5em
21px 1.3125em
18px 1.125em
16px 1em
14px 0.875em
12px 0.75em
11px 0.6875em
10px 0.625em
9px 0.5625em
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment