I have been looking for a reliable css minifier that doesn't require command line to run. Something similar to Google closure compiler where you can input multiple JavaScript files and minify them into a single file. So far I have found this from this thread.I fed it a few css files and found that one of the images referenced in one of the css files was mangled in the minified file.\[code\]background-image: url('/abc/img.png')\[/code\]and it was converted to \[code\]background-image: url(http://mydomain.com/'abc/img.png')\[/code\]which doesn't look right. Oddly enough if only a single file with above code is fed the outcome is correct. Also, if I change background-image to background, again the outcome is correct. So I am a little confused as what the problem is:1 - Is it legal CSS to omit background-position when background-image is used?
2 - Are there any alternatives to this tool (accept multiple css files to minify and doesn't require to be run as command).Any other suggestions and insight is much appreciated.
2 - Are there any alternatives to this tool (accept multiple css files to minify and doesn't require to be run as command).Any other suggestions and insight is much appreciated.