optimization - How to compress CSS -
i've looked @ half dozen css optimisers out there. i'm looking 1 turn:
background-image: url(../images/background.png); background-repeat: repeat-x; background-color: #c0c0c0;
into single background property:
background: #c0c0c0 url(../images/background.png) repeat-x;
how can this? have hand?
try http://www.cssoptimiser.com/
input:
body { background-image: url(../images/background.png); background-repeat: repeat-x; background-color: #c0c0c0; }
(i ticked "do not remove line breaks")
output:
body { background:#c0c0c0 url(../images/background.png) repeat-x }
note optimised away space - asked background:<space>#...
:)
there may other/better tools can this, site fulfill wish.
Comments
Post a Comment