clean-css removes wildcard selector
See original GitHub issueI’m using clean-css v3.0.7, and it seems like clean-css removes the wildcard selectors.
Before:
*,
*:before,
*:after {
box-sizing: border-box;
}
After:
:before,:after{box-sizing:border-box}
Expected:
*,*:before,*:after{box-sizing:border-box}
I’ve tested all kinds of different arguments, but nothing seems to fix this. Any ideas?
Issue Analytics
- State:
- Created 9 years ago
- Comments:15
Top Results From Across the Web
clean-css removes wildcard selector · Issue #444 - GitHub
I'm using clean-css v3.0.7, and it seems like clean-css removes the wildcard selectors. Before: *, *:before, *:after { box-sizing: ...
Read more >Developers - clean-css removes wildcard selector - - Bountysource
I'm using clean-css v3.0.7, and it seems like clean-css removes the wildcard selectors. Before: *, *:before, *:after { box-sizing: border-box; }.
Read more >wildcard * in CSS for classes - Stack Overflow
I tried using a wildcard * as in this css, but it didn't work. .tocolor-*{ background: red; }. css · css-selectors · wildcard....
Read more >UnCSS your CSS! Removing Unused CSS with PostCSS ...
https://promo.linode.com/designcourse/ - Use code 'DESIGNC19' to get $20 credit on your new Linode account!-- Last week I released a video ...
Read more >Crittr - npm.io
Every CSS Selector in this array will be removed of the critical css even if they are part of it. You can use...
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
As a note we found disabling this particular rule solved the issue:
Thanks @epogeedesign for the comment, it’s helpful for those who may stumble upon this behavior of clean-css.