Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

postcss-ms-unit

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

postcss-ms-unit

PostCSS plugin to add modular scale unit

    0.0.2latest
    GitHub

Version published
Maintainers
1
Weekly downloads
525
decreased by-11.76%

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

Last updated on 10 Mar 2017

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc