🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

postcss-important-startstop

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-important-startstop

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

2.0.0
latest
Source
npm
Version published
Weekly downloads
6
20%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

postcss

FAQs

Package last updated on 02 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts