# mobile-rem.css

> A mobile css layout

Latest version **0.0.1** (published 2018-08-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install mobile-rem.css
pnpm add mobile-rem.css
yarn add mobile-rem.css
bun add mobile-rem.css
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-08-21 |
| First published | 2018-08-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | hanmingpan |
| Maintainers | hanmingpan |
| Keywords | rem, css, sass, vw |

## Links

- npm: https://www.npmjs.com/package/mobile-rem.css
- Repository: https://github.com/hanmingpan/rem.css
- Homepage: https://github.com/hanmingpan/rem.css#readme
- Issues: https://github.com/hanmingpan/rem.css/issues
- npm.io page: https://npm.io/package/mobile-rem.css

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2018-08-21

## README

# rem.css

rem layout

# Install
    npm install rem.css --save

# Usage

## Module
    import 'rem.scss'

## Browser
    <link rel="stylesheet" href="rem.css">

# Example
    .main {
        // width: 100px;
        width: 1rem;
    }

    // variable.scss
    $baseFontSize:100;
    @function px2rem($px){
        @return $px / $baseFontSize * 1rem;
    }

    .main {
        width: px2rem(100);
    }

---
_Source: https://npm.io/package/mobile-rem.css · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
