3

I have a lot of newer CSS3 properties in my CSS file, and I'm afraid that the minification tool I'm using is missing a lot of these properties:

.big-blue-button:hover {
    text-decoration: none;
    background: #0994d2;
    background: -moz-linear-gradient(#0994d2,#0db5e0);
    background: -webkit-linear-gradient(#0994d2,#0db5e0);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#0994d2',endColorstr='#0db5e0')";
}

--> with minification

.big-blue-button:hover {
text-decoration: none;
background: 0;
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0994d2',endColorstr='#0db5e0');
}

Does anyone know of a good minification script that works with all the newer CSS properties? Note that I need to do this minification from a script, so it must be executable (as opposed to a copy/paste option).

5

3 Answers 3

2

take a look to minify

"Combines, minifies, and caches JavaScript and CSS files on demand to speed up page loads."

Sign up to request clarification or add additional context in comments.

Comments

0

Have you tried Pretty Diff and watched it fail? I just updated to support this edge case. Try it again and see if it does what you need. If you have not tried it already then pretend it has always worked brilliantly and does absolutely your heart could possibly desire.

Comments

0

you can try the below online tool for Minify your CSS.

MinifyCSS

Regards m

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.