rems and ems, and why you probably don’t need them
David Gilbertson
54434

  1. From my experience em is very useful, when you want do specify size based on parent font-size, eg. icons, buttons, spinners
  2. You can make using rem easier by Sass functions (https://css-tricks.com/snippets/sass/px-to-em-functions/), or by setting body font-size to 62.5% (https://developer.mozilla.org/en/docs/Web/CSS/font-size#Rems). In second approach when you want to have eg. 15px, you can set it as 1.5rem.
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.