Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

PostCSS plugin which adds !important based on simple start/stop annotations

License

Notifications You must be signed in to change notification settings

HellPat/postcss-important-startstop

Repository files navigation

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

About

PostCSS plugin which adds !important based on simple start/stop annotations

Resources

License

Stars

Watchers

Forks

Packages

No packages published