Typography

Em

Definisi

Em adalah satuan tipografis relatif sama dengan ukuran font elemen saat ini; dalam konteks 16 px, 1 em sama dengan 16 px.

Penjelasan

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