CleanCSS icon indicating copy to clipboard operation
CleanCSS copied to clipboard

CSS beautifier and sorter for Sublime text 2

Results 9 CleanCSS issues
Sort by recently updated
recently updated
newest added

Plugin breaks this css- at begin I got 2 properties without {} braces. ``` /*Clipboard ÆӨÆӨÆӨ*/ td, body { color:#000; line-height: 1.5; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; }...

```css p + figure, p + iframe { margin-top : 30px; } figure + p, iframe + p { margin-top : 30px; } @include media(">=tablet") { p + figure, p...

Messes up and deletes some css rules : # Original ![image](https://cloud.githubusercontent.com/assets/24858182/24578299/86d269ec-16fb-11e7-911b-45efe6e49fd6.png) # After cleaning ![image](https://cloud.githubusercontent.com/assets/24858182/24578304/a651c010-16fb-11e7-945f-c9a42178e5ee.png)

This: `background-image:url(http://example.com/image.png);` is reformatted to this: `background-image:url(http : //example.com/image.png);`

If using CSS with .class { properties:value; } It breaks on the linebreak before the opening { Would also like to have this added that the output will be formatted...

here is output ``` css /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%} body{margin:0} article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block} audio,canvas,progress,video{display:inline-block;vertical-align:baseline} audio:not([controls]){display:none;height:0} [hidden],template{display:none} a{background-color:transparent} a:active,a:hover{outline:0} abbr[title]{border-bottom:1px dotted} b,strong{font-weight:700} dfn{font-style:italic} h1{font-size:2em;margin:.67em 0} mark{background:#ff0;color:#000} small{font-size:80%}...

When I run this in sublime text 2 it deletes my css.

I tried to clean up my CSS with media queries. Unfortunately CleanCSS removed almost all attributes and make media queries nested.

Would be nice to have support for cleaning our preprocessor CSS (the scss files for example, so pre compilation files)