postcss-important-startstop ![Build Status](https://travis-ci.org/psren/postcss-important-startstop.svg)
PostCSS plugin which adds !important based on simple start/stop annotations.
The scope of this plugin is very limited. It does only add !important
to everty declaration between to annotations.
Nothing more.
It does not check not check if important is allowed for that particular declaration.
It does not allow adding !important
to just some declarations
This plugin is useful for a Utility-Based aproach to CSS.
Why should i use Important?
Examples
Plain
Input
.john { display: block; }
Result
.john { display: block !important; }
With import
highly recommended for Utilities
@import "myutilities.css";
Usage
postcss([ require('postcss-important-startstop') ])
See PostCSS docs for examples for your environment.