Typography

Em

Definição

O em é uma unidade tipográfica relativa igual ao tamanho de fonte do elemento atual; em um contexto de 16 px, 1 em equivale a 16 px.

Explicação

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