Issue with tailwindcss
See original GitHub issueEnvironment
- clean-css version -
npm ls clean-css
: 5.2.0 - node.js version -
node -v
: v14.17.0 - operating system: Ubuntu 20
Configuration options
CLI:
cleancss -O2 --format minify
Input CSS
.test {--tw-blur: var(--tw-empty,/*!*/ /*!*/);}
Actual output CSS
.test{--tw-blur: var(--tw-empty,);/*!*//*!*/}
Expected output CSS
.test {--tw-blur: var(--tw-empty,/*!*/ /*!*/);}
I thought the latest PR should have fixed it but it seems to have the same issue.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Issues · tailwindlabs/tailwindcss - GitHub
A utility-first CSS framework for rapid UI development. - Issues · tailwindlabs/tailwindcss.
Read more >Issue with Tailwind CSS | WordPress.org
Tailwind CSS is a framework which allows you do use classes with prefixes when dealing with responsive designs – https://tailwindcss.com/docs/responsive- ...
Read more >What is TailwindCSS and what problems does this new CSS ...
In this tutorial, we'll learn what is the problem with component-based styling and why we need utility-based styles.
Read more >Tailwindcss Suggestions not working in react-app : WEB-48464
It worked, I found how to config the project correctly with tailwindcss and everything is ok. Thank you, issue can be closed.
Read more >Tailwind CSS classes is not working in my project?
This error is due to tailwind not finding any classes to scan in what it 'thinks' is your HTML code directories.
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
@crswll you may be using an older version of clean-css as it’s working fine in the latest one (5.2.2), please check on https://clean-css.github.io/
Hey @yellow1912 - it’s actually a different issue as clean-css pulls comments out of variables.
We need another fix.