uglifycss icon indicating copy to clipboard operation
uglifycss copied to clipboard

Port of YUI CSS Compressor from Java to NodeJS

Results 10 uglifycss issues
Sort by recently updated
recently updated
newest added

The CSS fragment ``` css @media only screen and not (max-width:768px) { ``` gets minified as ``` css @media only screen and not(max-width:768px){ ``` However that is an error and...

**Why is issue #52 closed?** Minification and Optimization removes neccessary whitespace after `or`. ``` // CSS @supports ((position: -webkit-sticky) or (position: sticky)) { .element { position : -webkit-sticky position :...

I've been testing some code in IE11/Windows 7 with Browserstack and found uglify is causing errors in the following code ` background: linear-gradient(0,rgba(105,44,145,0.3),rgba(105,44,145,0.3)),linear-gradient(0,rgba(0,49,131,0.3),rgba(0,49,131,0.3)),linear-gradient(90deg,rgba(0,174,239,0.9) 23.61%,rgba(0,49,131,0.0001) 99.7%)` changing 0 to 0deg (first...

Hi, I believe minification for `text-shadow` may be incorrect in some cases. ```bash $ echo 'p{text-shadow:0 0 0;}' | uglifycss p{text-shadow:0} ``` In that case, it should be `text-shadow:0 0`....

Hi and thanks for this plugin. If you define: ``` @keyframes fancy-mouse-breathing-animation { 0% { background-color: rgba(0,255,0, 1); } 50% { background-color: rgba(0,255,0, 0.33); } 100% { background-color: rgba(0,255,0, 1);...

Remove @charset for other files, except the first one

![image](https://user-images.githubusercontent.com/17830872/41083132-03a394c6-6a63-11e8-8b82-bafbf7e3b31a.png)

Adding support for cases: - @supports not ( - @supports not (not ( - @supports (display: grid) and (not ( https://developer.mozilla.org/en-US/docs/Web/CSS/%40supports

const uglifiedCSS = UglifyCSS.processString(style, uglifyOptions.css); ![Screenshot 2023-01-04 at 7 54 47 PM](https://user-images.githubusercontent.com/101345208/210583084-a047b2f9-5bab-46b1-bb23-207d5178620e.png) ![Screenshot 2023-01-04 at 7 55 04 PM](https://user-images.githubusercontent.com/101345208/210583092-d18899d7-1b3e-4b13-a836-ece1e8da66b5.png) ![Screenshot 2023-01-04 at 7 59 12 PM](https://user-images.githubusercontent.com/101345208/210583491-84c1e51d-261c-4443-a29d-55b75e79d735.png) ![Screenshot 2023-01-04 at 7...

Say I want to pack all css into 1 file, how should i specify the source map for bootstrap.css? uglifycss --output css/app.min.css --max-line-len 800 ^ jsplugin/bootstrap/css/bootstrap.css ^ jsplugin/bootstrap/css/bootstrap-theme.css ^ js/app.css...