css-minify
css-minify copied to clipboard
Support pseudo classes without selector
Hi,
yesterday I raised this issue.
It seems that css-minify is causing the problem:
It should be possibe to use a pseudo class without a selector, e.g. :is() instead of *:is().
/* Original CSS (without `*` selector) */
:is(nav, .posts) a {
text-decoration: none;
}
/* Minified CSS (error) */
:is(nav{text-decoration:none}
/* Original CSS (with `*` selector) */
:is(nav, .posts) a {
text-decoration: none;
}
/* Minified CSS (correct) */
*:is(nav,.posts) a{text-decoration:none}
Thank you very much!
Hey! I will try to check it soon.
I added adhoc support on 0.3.1 version
Excellent. Thanks a lot for your efforts.