csssublimetext2sublimetext3csstidy

CSS code formatting and styling with Sublime


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).


Solution

  • 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.