postcss-importantly

0.0.7 • Public • Published

postcss-importantly

PostCSS plugin to add !important for every declaration.

Why do I need this?

The best way to isolate your CSS is to give maximum weight for your declarations. Adding !important is the easiest way for it.

Installation

Run npm install postcss-importantly --save-dev

In your Gulpfile use this command to process stylesheet:

gulp.src('app/*.css')
  .pipe $.postcss [require('postcss-importantly')]
  .pipe gulp.dest('.dist')

Note that plugin ignores @-rules (such as @font-face and @keywords) due to lack in browser support.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.7
    294
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.7
    294
  • 0.0.6
    2
  • 0.0.5
    1
  • 0.0.4
    1
  • 0.0.3
    1

Package Sidebar

Install

npm i postcss-importantly

Weekly Downloads

47

Version

0.0.7

License

MIT

Last publish

Collaborators

  • travelpayouts.com