postcss-overflow

PostCSS plugin for overflow shortcut

Use postcss-overflow-shorthand instead
Last updated 9 years ago by airkro .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install postcss-overflow 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.1.5                                ...           latest (9 years ago)

3 Versions

  • 1.1.5 [deprecated]           ...           9 years ago
  • 1.1.2-rc.2 [deprecated]           ...           9 years ago
  • 1.1.2-rc.1 [deprecated]           ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (1)
Dev Dependencies (6)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |