rem vs px spacing is one of the most common decision points we see. Here is the honest breakdown.

The short version#

Root-relative vs absolute units.

Point by point#

AspectAnalysis
Accessibilityrem scales with user font size; px does not
ConsistencyThe Nakshora scale is rem-based for this reason
ExceptionsHairlines (1px) stay px
RuleSpacing/typography in rem; borders/shadows in px

Bottom line#

Pick based on your constraint, not ideology — and remember the comparison pages link to hands-on recipes so you can verify the claim in your own project within minutes.

comparisons/index|All comparisons