Ian McNally

Font sizing with rem - Snook.ca

April 06, 2015

Summarizing REMs for CSS units, and how to get your measure to convert nicely between pixels and REMs.

tl;dr -

html {
  font-size: 62.5%
}

1px is .1rem


Ian McNally

Hey, I'm Ian. I build websites and write about what I learn as I go. Follow me on Twitter.