🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

postcss-ms-unit

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-ms-unit

PostCSS plugin to add modular scale unit

0.0.2
latest
Source
npm
Version published
Weekly downloads
275
-38.75%
Maintainers
1
Weekly downloads
 
Created
Source

PostCSS Ms Unit Build Status

PostCSS plugin to add modular scale unit.

.foo {
    font-size: 1ms;
}
.foo {
    font-size: 19.2px;
}

Usage

postcss([ require('postcss-ms-unit') ])

You can also declare the ratios in root like so

:root {
    --ms-base: 16;
    --ms-base: 1.2;
}

See PostCSS docs for examples for your environment.

Keywords

postcss

FAQs

Package last updated on 10 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts