This doesn't directly answer your question, but have you tried Compass/SASS? When you save the .scss file, you can set an option so the .css file it generates is compressed. So you're always working in a neat, readable file, but your production file is compressed.
Is there any plugins that will compress the CSS when i press save button.
Also is there plugin that will uncompress the css when the compressed css file is opened
This doesn't directly answer your question, but have you tried Compass/SASS? When you save the .scss file, you can set an option so the .css file it generates is compressed. So you're always working in a neat, readable file, but your production file is compressed.
@jamy_za
Thanks ...
But how to uncompress it
You can use the same tool to generate uncompressed CSS.
@jamy_za It means i need to buy that tool..
No, compass/sass is free.
@jamy_za Thanks..... But where do i download that tool
I search via package control but there is no any word " Compass"
http://compass-style.org/install/
@Watson90 how do i install in sublime text 2..
http://lmgtfy.com/?q=sublime+text+2
This has nothing to do with SublimeText - You can use this with any text editor. You don't install it in sublime.
Check out: http://css-tricks.com/musings-on-preprocessing/ http://css-tricks.com/sass-vs-less/ http://css-tricks.com/video-screencasts/111-get-yourself-preprocessing-in-just-a-few-minutes/
@jamy_za
Thanks You are really hero.You solved all my quesries :)