-1

I set a font-size on my body element as 19px - then from there, I am using em for different kinds of things, but there is an issue and line-heights are irregular... example, I use font-size: 0.6 em and the line height is uneven, it's driving me crazy!!

BTW using bootstrap - they set a line height of 1.428571429.

Tried using line-height normal and tested with different em sizes... There should be something I'm doing wrong?

TylerH
  • 20,799
  • 66
  • 75
  • 101

1 Answers1

-1

Use rem instead: https://css-tricks.com/confused-rem-em/

em is "ratio compare to parent font size"

TylerH
  • 20,799
  • 66
  • 75
  • 101
AVAVT
  • 7,058
  • 2
  • 21
  • 44