CSS Length Units Reference (px, rem, em, vw, ch)
Absolute vs relative CSS units for responsive accessible layouts.
Runs locally in browser
Free · No login
Independently Verified 2026-11-24
v1.0.0
| Unit | Relative To | Recommended Use |
|---|---|---|
| rem | Root <html> font-size | Typography, spacing (respects user zoom) |
| em | Parent/current font-size | Component-local padding |
| ch | Width of "0" glyph | Readable line length (60–75ch) |
| px | CSS reference pixel | 1px borders |
Technical Explanation
Absolute vs relative CSS units for responsive accessible layouts. Filter any column live in your browser or export the structured table as CSV or JSON for scripts, engineering sheets, and documentation.
Worked Examples
- Type in the filter box to isolate exact symbols, codes, or standards.
- Click "Download CSV" or "Download JSON" to reuse the verified reference table offline.
Limitations & Assumptions
- Summary reference tables highlight high-frequency standards; consult the cited standards body (BIPM, NIST, IANA, IETF, ISO) for exhaustive appendices.
Source References & Verification
Resource ID: ref-css-units · Independently verified: 2026-11-24