DEV Community

Discussion on: Em v/s REM

Collapse
 
cmcodes profile image
C M Pandey

Quote from “The Principles of Beautiful Web Design”

“An em is a CSS unit that measures the size of a font, from the top of a font’s cap height to the bottom of its lowest descender. Originally, the em was equal to the width of the capital letter M, which is where its name originated.”

Collapse
 
holdmypotion profile image
Rahul

That's just perfect!