cssbeautify
cssbeautify copied to clipboard
Reindent and reformat CSS
This commit allows the library to be imported within the context of a web worker. In a web worker, when a script is imported it is outside of the browser's...
Hi, I have modified some of your code to specify output option in the CLI. I have tested this in my local machine. So, can you merge this code into...
When installing the module, since minimatch is a dependency, there's this warning: "Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue"
Would it be possible to support re-ordering CSS declarations to be in alphabetical order? E.g.: ``` css body { font-family: Georgia; color: blue; text-decoration: underline; } ``` Would become: ```...
In line with Unix conventions, this lets cssbeautify be used as an intermediate step in a command: ``` curl http://example.com/main.css | cssbeautify > main.css ```
Whilst technically redudant, it's better to be precise.
I am using CSS beautify as part of [this package](https://github.com/victorporof/Sublime-HTMLPrettify) for Sublime Text 3. I have this code in a SASS file of mine. ``` .subnav-list { &:not(:first-of-type) { ......
The [beautifier](http://html.fwpolice.com/css/) adds a semicolon inside the media query at the end. According to w3 css-validator, this is an error. Example: ``` css @media (max-width: 767px) { h1 { font-size:...
Extend command line in order to expose more configuration options. Add an option for split CSS selectors on comma.
@-moz-document domain(foo.com){ @media (min-width:30em){x{foo:bar} } } beautifies to @-moz-document domain(foo.com) { @ media (min-width:30em) { x{foo: bar; } } } and other nested @-rules have the same issue (separation of...