MadLittleMods / postcss-increase-specificity

Why? Dealing with CSS you can't remove(mainly from a 3rd party). Increases specificity of selectors.
MIT License
50 stars 16 forks source link

Add functionality to disable plugin via comments #18

Closed track0x1 closed 4 years ago

track0x1 commented 6 years ago

Closes #17

It only makes sense to support disabling blocks as this plugin only looks at the rule-level (as opposed to line/declaration level).

/* postcss-increase-specificity disable */
.foo {
  content: "can't touch this";
}
/* postcss-increase-specificity enable */

Thanks to @MadLittleMods for creating this plugin (it's already been a huge help in a project)!

track0x1 commented 6 years ago

@MadLittleMods Can we get this merged?

MadLittleMods commented 4 years ago

Closing as this has gone stale and review not addressed.