This package has been deprecated

Author message:

Use postcss-overflow-shorthand instead

postcss-overflow

1.1.5 • Public • Published

PostCSS Overflow

PostCSS plugin for overflow shortcut to set overflow-x and overflow-y properties.

Build Status npm-img

/* before */

.two {
    overflow: hidden auto;
}
.one {
    overflow: auto;
}
* {
    overflow: * auto;
}

/* after */

.two {
    overflow-x: hidden;
    overflow-y: auto;
}
.one {
    overflow: auto;
}
* {
    overflow-y: auto;
}

Install

npm i postcss-overflow

Usage

postcss([ require('postcss-overflow') ])

forked from postcss/postcss-size , thanks.

See PostCSS docs for examples for your environment.

Package Sidebar

Install

npm i postcss-overflow

Weekly Downloads

137

Version

1.1.5

License

MIT

Last publish

Collaborators

  • airkro