postcss-important-startstop

2.0.0 • Public • Published

postcss-important-startstop Build Status

PostCSS plugin which adds !important based on an atRule

Why should I use Important?

This plugin is useful for a Utility-based approach to CSS.

You need some more Info about Utility-based CSS? See these links. I can highly recommend the article by Adam.

Examples

Input

.a { color: red; }
 
@important {
    .b { color: red; }
}
 
.c {
    @important {
      color: red;
    }
    background-color: green;
}

Package Sidebar

Install

npm i postcss-important-startstop

Weekly Downloads

11

Version

2.0.0

License

MIT

Last publish

Collaborators

  • psren