in Technology

CSS Optimizer

Ashok S, our designer sent this:

If you want to optimize your CSS code, checkout the CSS Optimizer on flumpcakes. It is an online tool which helps you delete unwanted css code.

From their about page, the tool essentially does the following:

  • Removes comments
  • Removes white space (such as excess spaces)
  • Converts RGB values to Hex (they’re smaller)
  • Converts Hex values in the format #RRBBGG to #RGB.
  • Changes zero values with a size specified to 0. (0px would change to 0)
  • Changes values such as border: 1px 2px 1px 2px; to border: 1px 2px;
  • Converts multiple background, font, margin, padding, list attributes into a single attribute
  • Converts multiple border values into single attributes
  • Option to convert absolute values (PX & PT) into relative values (EM)
  • Groups style attributes and values which appear multiple times into a single style

Write a Comment

Comment