We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A CSS selector that only uses classes/tags/ids that occur in the content, but never matches, is not removed.
Example HTML:
<div class="div">div</div> <span class="span">span</span>
CSS:
div.span { color: #f00; }
purgecss
The CSS ruleset does not match anything and should therefore be removed.
purgecss version 6.0.0
No response
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
No branches or pull requests
Describe the bug
A CSS selector that only uses classes/tags/ids that occur in the content, but never matches, is not removed.
Example HTML:
CSS:
To Reproduce
purgecss
Expected Behavior
The CSS ruleset does not match anything and should therefore be removed.
Environment
purgecss version 6.0.0
Add any other context about the problem here
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: