Skip to content

Instantly share code, notes, and snippets.

@mbeall
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbeall/2531d68eb31cf034aaba to your computer and use it in GitHub Desktop.
Save mbeall/2531d68eb31cf034aaba to your computer and use it in GitHub Desktop.
Research Project

History

What it does

  • Sorts CSS declarations
  • Helps maintain coding style through multiple iterations, revisions, and contributors
  • Makes code easier to read by colleagues and yourself
  • Helps find CSS properties faster
  • Prevents accidental errors by revealing redundant declarations

How to use

  • Go to csscomb.com or fork from GitHub and run on code
  • Add plugin for one of the following text editors:
  • Sublime
  • TextMate
  • Coda
  • Espresso
  • IntelliJ IDEA
  • WebStorm
  • PyCharm
  • Notepad++
  • Vim
  • In development, can be run on code periodically
  • In pre-production, either right before or while compiling

Sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment