cssshrink icon indicating copy to clipboard operation
cssshrink copied to clipboard

CSS minifier

Results 22 cssshrink issues
Sort by recently updated
recently updated
newest added

Trying to run cssshrink throws the following error: Error: Cannot find module '/usr/lib/node_modules/cssshrink/node_modules/csscolormin/index'. Please verify that the package.json has a valid "main" entry Any idea of what is going awry?

input: ``` css h1 { border: 1px solid red; background-color: red; background-position: 50% 100%; } h1 { border: 1px #f00 solid; background-color: #f00; background-position: center bottom; } h1 { border:...

Hey @stoyan and thanks for this awesome project! I found a small issue with prefixed pseudo-classes such as `::-webkit-input-placeholder`. They wont work if they are stacked after each other like...

Somewhat similar tasks such as Autoprefixer are able to create or update sourcemaps, wouldn't it be neat if this was able to do so as well?

Hello, I wonder why only the adjacent selectors / Media Queries / keyframes are packed. Would it be possible to add an option (a checkbox labelled "great power / great...

Input ``` body { background-position: center center; } ``` Output ``` body{background-position:center center} ``` this could be shortened to ``` body{background-position:50% 50%} ```

### Turn this: ``` a{ color:red; opacity:1; background:blue; } b{ color:red; opacity:1; background:blue; height:10px; } ``` ### To this: ``` a,b{ color:red; opacity:1; background:blue; } b{ height:10px; } ``` But...

It would be really good if CSSShrink could figure out the `@media' rules in this snippet and merge them together. It seems to have an issue when they are in...

In the given example, `a{color: #ff0000;}` got compiled, and became `a{color:red}`. This is not always the case. In some browsers, the color **red** is not **#ff0000**.

I've tried to shrink some css code, but error. ``` div{ filter: progid:DXImageTransform.Microsoft.gradient( GradientType = 0,startColorstr = '#80000000',endColorstr = '#80000000')\9; } ```