postcss-line-height

0.1.0 • Public • Published

PostCSS Line Height Build Status

PostCSS plugin for converting px line heights to unitless line heights

.foo {
    line-height: 24px;
}
.foo {
  line-height: 1.5;
}

Usage

postcss([ require('postcss-line-height') ])

See PostCSS docs for examples for your environment.

Options

{
    baseFontSize: 16
}

/postcss-line-height/

    Package Sidebar

    Install

    npm i postcss-line-height

    Weekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • tormorten