Typography

Em

정의

현재 요소의 글꼴 크기와 같은 상대적 타이포그래피 단위로, 16 px 환경에서 1 em은 16 px이다.

설명

Historically, the em was the width of the uppercase letter 'M' in a given typeface — since 'M' was typically as wide as it was tall, it approximated the point size. In modern CSS and digital typography, em is purely relative to font-size, making it useful for scalable layouts: setting padding to 1 em ensures it always scales proportionally with text. The related 'rem' unit is relative to the root element's font size instead.

01

RELATED CONVERSIONS

02

RELATED ARTICLES

03

RELATED TERMS