stolksdorf / CleanCSS

CSS beautifier and sorter for Sublime text 2
55 stars 7 forks source link

CleanCSS is a Sublime Text 3 package for beautifying your CSS. CleanCSS indents all your rules properly, aligns all the values by the colon, and sorts each property into categories within each rule:

Installation

CleanCSS is on Package Control, so just open the Command Palette and select "Package Control: Install Package", then search for CleanCSS and you're done!

Usage

You can clean a css file by accessing the CleanCSS command from the command palette

or you can bind a key to the clean_css command in Preferences -> Key Bindings - User for ultra fast cleaning

{"keys":["f6"], "command" : "clean_css"},

Configuration

You can access the configuration settings by selecting Preferences -> Package Settings -> CleanCSS.