# imochen/hotcss

移动端布局终极解决方案 --- 让移动端布局开发更加容易

Repository: https://github.com/imochen/hotcss
Canonical: https://ross.abutalabs.com/products/hotcss
Homepage: http://imochen.github.io/hotcss/
Language: CSS
License Family: other
Last push: 2018-12-06T05:31:15+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4004, "days_push": 2827, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2415, forks 613 (observed 2026-08-28T04:06:50.275814+00:00)

## What it is
hotcss is a mobile layout solution (not a library or framework) that uses dynamic HTML root font size and dynamic viewport scaling to achieve visual consistency across devices. It includes px2rem conversion functions for SCSS, LESS, and Stylus to simplify rem-based mobile web development.

## Use cases
- make mobile web pages look consistent across different screen sizes and pixel densities
- convert px values to rem units in scss or less
- solve the 1px border problem on high-dpr mobile screens
- automatically set the viewport meta tag for mobile pages
- support multiple design mockup widths in one project
- adapt a 750px design draft to all mobile devices

## When to choose
- building a legacy mobile web page that relies on rem-based scaling
- you need px2rem conversion functions in scss/less/stylus
- you want automatic viewport and dpr handling without manual configuration

## When to avoid
- starting a new project - modern CSS viewport units, flexible layouts, and media queries are preferred
- you need actively maintained software with a license and recent updates
- your project targets desktop or responsive web rather than mobile-only layouts

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, css-framework, developer-tools
- domain: frontend, web-development, mobile-development
- platform: browser, cross-platform
- tags: rem-layout, mobile-adaptation, viewport-scaling, px2rem, responsive-design, scss, less, stylus, mobile

## Member repositories
- imochen/hotcss (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:50.275814+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:33:11.555905+00:00, confidence not recorded.
  - readme: https://github.com/imochen/hotcss (fetched 2026-08-28T04:06:50.275814+00:00, sha 369a8b24a91e)
  - homepage: http://imochen.github.io/hotcss/ (fetched 2026-08-29T10:13:46.889761+00:00, sha 603a64fe134f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
