📜 ⬆️ ⬇️

Tools for formatting CSS code

Do you like your CSS code the way I love it? If so, then, of course, strive to ensure that he not only behaves and feels good, but also looks nice.
I hope that the tools described below will help your code get closer to the ideal.


1. Styleneat


image
Probably the easiest service presented in the review.
There are not so many possibilities for the tool:


2. FormatCSS


image
Despite its formidable appearance, the tool copes with its functions, of which it has plenty.
You can customize a lot:

What I particularly liked this service: the ability to format the "ladder" sub-rules (I think this is a very convenient way of organizing styles).
')

3. CleanCSS


image
Enough powerful tool, providing us with many opportunities:

By the way, the basis of this service is found by the engine “ CSSTidy ” - an open-source CSS parser / optimizer. So, everyone can freely portray on its base their own beauty player, with blackjack and switches.
UPD> In comments prompted the link to this twin of service: CodeBeautifier . The feature set is almost identical to CleanCSS (the service also runs on CSSTidy).

4. ProCSSor


image
In my sophisticated opinion - the most convenient of all presented in this review.
The service greets the user with a pleasant interface and very visual pop-up hints, which allow you to quickly and easily understand the settings.
Like any self-respecting beautifer, ProCSSor will accept from us the code in the input field, in the form of a file or a link. It will give the result to the browser and display a link to download the file.
The tool has enough settings to please almost any user, it doesn't make much sense to list them - it is better to try right away.
A nice feature of the service is the ability to save your settings so that the next time you can skip the configuration step and go straight to the refining process.
Another attraction - ProCSSor provides API , with the documentation can be found here: http://procssor.com/apidoc.pdf .

5. CSScomb


image
A project of our compatriot, habrac user miripiruni . CSScomb is a tool for re-sorting CSS properties in a given order , more details about the features can be found on this page .
Of the amenities:

The author promises in the near future large service updates and offers to monitor the channel @csscomb

Source: https://habr.com/ru/post/112827/


All Articles