What's the best tool to automatically organize or alphabetize your CSS properties?

Issue

I’m looking for a way to automatically organize (alphabetically, or by any other accepted “standard”) all of my CSS properties. I would prefer a method in Dreamweaver, but I’ll take anything at this point!

Example:

.div-name {
padding: 5px;
width: 300px;
margin: 10px;
color: #000;
}

would be converted to:

.div-name {
color: #000;
margin: 10px;
padding: 5px;
width: 300px;
}

Solution

Try this:

http://www.cleancss.com/

Haven’t used it, but it appears to do what you say.

Bob

Answered By – rcravens

Answer Checked By – David Goodson (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.