Skip to content

jrmd/postcss-ms-unit

Repository files navigation

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.

About

Postcss plugin to add a modular scale unit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published