Skip to content
New issue

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

nth-child 1 of x space removal #90

Open
ernieayala opened this issue Aug 18, 2023 · 1 comment
Open

nth-child 1 of x space removal #90

ernieayala opened this issue Aug 18, 2023 · 1 comment

Comments

@ernieayala
Copy link

When using a selector such as :nth-child(1 of .item) it is compressed down to :nth-child(1of.item) thus breaking the selector.

@XIYU11864
Copy link

@ernieayala
You can use -O0. This leval remove most line breaks and spaces but dosen't break something like :nth-child(1 of .item).
Or you can use https://github.com/clean-css/clean-css#how-to-keep-a-css-fragment-intact .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants