imochen/hotcss
移动端布局终极解决方案 --- 让移动端布局开发更加容易 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4004
- days_rel: n/a
- days_push: 2827
- n_releases_24m: 0
Adoption not part of the score
2415 stars · 613 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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
library · maturity abandoned
ui-components css-framework developer-tools frontend web-development mobile-development browser cross-platform rem-layout mobile-adaptation viewport-scaling px2rem responsive-design scss less stylus mobile
2 sources
- readme: https://github.com/imochen/hotcss · fetched 2026-08-28 · 369a8b24a91e
- homepage: http://imochen.github.io/hotcss/ · fetched 2026-08-29 · 603a64fe134f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| imochen/hotcss | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem