Axis

Pixel density & screen units

device pixel ratiodpr

The ratio of physical pixels to CSS pixels.

Dimension
1
Canonical signature
1
System
css
Exactness
Exact by definition

Definition record

How this unit is defined

Canonical base
This unit defines its own base.
Conversion type
linear
Historical notes
A pure ratio; used to convert CSS dimensions to physical pixels.
Aliases
DPR, css pixel ratio

Same dimension

Common conversions

Every conversion routes through the canonical base of the dimension.

This unit defines its own dimension.