-2

I'd like to convert my CSS in the following format:

selector,selector,selector { property: value; property: value;... }
selector { property: value; }

All of the plugins either need PHP / NodeJS or JAVA installed (I am using a VM for my server stuff, only the editor is on my host machine which I prefer to keep light-weight).

George Katsanos
  • 13,524
  • 16
  • 62
  • 98
  • Have you tried *[Minify](https://github.com/tssajo/Minify)* package? It is supposed to work with ST2 and ST3. Also well-known *[Minifier](https://github.com/bistory/Sublime-Minifier)* package would do the trick. – Hashem Qolami Sep 20 '14 at 07:18
  • @HashemQolami I don't want to create minified version on save, I was looking for a plugin that will actually change the code source while I am working on it - I'm not doing all this for minification but for my own preference, I like 1-line CSS declarations as they give me a good overview of my code. – George Katsanos Sep 26 '14 at 08:28
  • Downvoters: Please explain the downvotes. – George Katsanos Sep 26 '14 at 08:29

1 Answers1

0

After trying almost all available packages for Sublime that do CSS formatting, and the one that worked out of the box was CSS Format https://sublime.wbond.net/packages/CSS%20Format . Works excellent, no external dependencies.

George Katsanos
  • 13,524
  • 16
  • 62
  • 98