CSS formatter NOT based on CSS Tidy?

Posted by Abdu on Stack Overflow See other posts from Stack Overflow or by Abdu
Published on 2008-10-15T20:33:43Z Indexed on 2010/05/05 13:58 UTC
Read the original article Hit count: 396

Filed under:
|
|

I can't find a css formatter (web based or Windows app) which formats the css where it puts the open brace on its own line aligned with its close brace, plus indents the attributes. The web based css formatters out here seem to be based on CSSTidy which doesn't do what I want.

I don't like this CSSTidy format:

.example {
font-size: 3em;
}

I want:

.example
{
    font-size: 3em;
}

© Stack Overflow or respective owner

Related posts about css

Related posts about formatter