cuth/postcss-pxtorem
Convert pixel units to rem (root em) units using PostCSS observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4516
- days_rel: n/a
- days_push: 870
- n_releases_24m: 0
Adoption not part of the score
2159 stars · 173 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PostCSS plugin that converts pixel (px) units in CSS to rem (root em) units. It is configurable via options such as root value, property lists, selector blacklists, and media query handling.
Use cases
- convert px to rem in my css build
- make my site respect browser font size settings
- postcss plugin to generate rem units from pixels
- convert font-size px values to rem automatically
- responsive typography with rem units
- exclude node_modules css from px to rem conversion
When to choose
- you use PostCSS and want scalable, accessible rem-based sizing
- you want fine-grained control over which properties and selectors are converted
- you need configurable root value and precision for unit conversion
When to avoid
- you don't use a PostCSS-based build pipeline
- you need runtime unit conversion in the browser
- you want px to viewport units (vw/vh) conversion instead
Facets
plugin · maturity stable
css-framework developer-tools web-development frontend cross-platform postcss-plugin css-units px-to-rem responsive-design accessibility nodejs
2 sources
- readme: https://github.com/cuth/postcss-pxtorem · fetched 2026-08-28 · c18c9ddb87e7
- registry_npm: https://registry.npmjs.org/postcss-pxtorem · fetched 2026-08-29 · 1be33a158006
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cuth/postcss-pxtorem | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="cuth/postcss-pxtorem")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem