排版单位
pt、px、em、rem等单位换算
01
POPULAR CONVERSIONS
02
ALL UNITS
像素 (px)
px
CSS reference pixel at 96 DPI
点 (pt)
pt
Typographic point (1/72 inch = 96/72 px)
派卡
pc
Typographic pica (12 points = 16 px)
em
em
Relative to parent font size (default 16px)
rem
rem
Relative to root font size (default 16px)
英寸 (CSS)
in
CSS inch (96 px at reference DPI)
厘米 (CSS)
cm
CSS centimeter (96/2.54 px)
毫米 (CSS)
mm
CSS millimeter (96/25.4 px)