News for hackers. Stuff that matters.
Re:REM vs. EM – The Great Debate by FormFollowsFunc on Sunday March 13, 2016 @02:06PM (#11278658)
If you do the following:

  html {
    font-size: 62.5%;
  }
You can convert from pixels to rems (or ems) quite easily:

  p {
    font-size: 1.4rem; // 14px
  }
I use rems for stuff that needs to scale with text, ems for line-height and pixels for everything else.

There are no comments on this comment yet.