CSS Formatter

 

Important Note: Your code should be well-formed. This is no validator which points out errors in your CSS code. To make sure that your code is valid, use the W3C Validator.

CSS Input:
 

Why optimise?

If you optimise your CSS code you have faster loading pages and lower traffic costs. So both you and your visitors benefit from an optimisation.

Compression ratio

The compression ratio mostly depends on the level of whitespace-removal. Using standard whitespace-removal (which preserves the readability) the compression ratio often is 30% and more. In theory the compression ratio can be 99,99% but only very "stupid" stylesheets will allow those ratios. Also have a look at the examples.

We love Firefox

Spread the love Add a Firefox button to your web site or promote Firefox in your email signature.
firefox web button
firefox web button

Code Layout:

Options




Optimise





Case for properties:


Extra Options