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 `options.mode` to support new `always-ascending` #2

Open MadLittleMods opened 8 years ago

MadLittleMods commented 8 years ago

API discussion welcome :grinning:

options.mode

options.useAttributeIds: Whether to transform #foo into [id="foo"]. Somehow, maybe this should be attached to options.mode -> always-ascending as the article explains

cc @philipwalton

philipwalton commented 8 years ago

@MadLittleMods cool, I didn't realize this plugin existed!

A couple thoughts:

And then a few wish-list items:

Also, I'd be happy to be cc'ed on a PR and discuss more there. Thanks for doing this!