2.0.0 • Published 6 years ago

postcss-important-startstop v2.0.0

Weekly downloads
19
License
MIT
Repository
github
Last release
6 years ago

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;
}