You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

postcss-ms-unit

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-ms-unit

PostCSS plugin to add modular scale unit


Version published
Weekly downloads
495
increased by6.91%
Maintainers
1
Created
Weekly downloads
 

Readme

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc