Closed pimbrouwers closed 6 years ago
Reference: https://webdesign.tutsplus.com/tutorials/comprehensive-guide-when-to-use-em-vs-rem--cms-23984
em
rem
Reference: https://webdesign.tutsplus.com/tutorials/comprehensive-guide-when-to-use-em-vs-rem--cms-23984
em
units for sizing that should scale depending on the font size of an element other than the root.rem
units for sizing that doesn’t needem
units, and that should scale depending on browser font size settings.rem
units unless you’re sure you needem
units, including on font sizes.rem
units on media queries