How do I output compressed CSS from Compass?


Tags: css,compression,sass,compass-sass

Problem :

How do I configure compass to output smaller or compressed CSS files? I tried compass -s compressed but that didn't work.



Solution :

In your config.rb file:

output_style = :compressed

More at http://compass-style.org/help/documentation/configuration-reference/.


    CSS Howto..

    How to add head section in a page that has layout template

    Adobe Flex Show Content inside Rectangle (itemRenderer)

    Show bottom of an overflow string in a div with fixed height/width?

    How to make a HTML element fill a dynamically sized container using CSS

    How to style