Ignore specific styles
See original GitHub issueIt would be nice to let clean-css skip specific rulesets/declarations/blocks e.g. by surrounding them with terminated comments, e.g.:
/* #clean-css: ignore */
.ignore-me {
color: transparent;
}
/* #clean-css: /ignore */
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Forums - CSS - Is it possible to ignore a specific style on style ...
I have a linked style sheet that alters the look of an input button. I do not want to use that style assignment...
Read more >How to ignore parent css style - Stack Overflow
I'm wondering how to ignore a parent style and use the default style (none). I'll show my specific case as an example but...
Read more >Is it possible to ignore all CSS files except for one for a certain ...
Hi, Let's say I have a page with a style file (style.css). On that page I have a div. I have another style...
Read more >What if I want to ignore certain CSS rules in other HTML ...
Hi everyone :) I've been working on my first project, my first personal profile page and I've been running into some issues. Basically...
Read more >Ignore specific styles · Issue #895 · clean-css/clean-css - GitHub
In my opinion, it would be nice to not only to set ignore option per block but also other options like the aforementioned...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Added in master, scheduled for 4.2 release.
^ the preliminary version supporting the
ignore:start
/ignore:end
syntax which I personally find more intuitive.