开发者

How do I output compressed CSS from Compass?

How do I configure compass to output smaller or compressed CSS files? I tried co开发者_运维问答mpass -s compressed but that didn't work.


In your config.rb file:

output_style = :compressed

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


Did you try with the full name of the argument in command line ?

compass watch --output-style=compressed


i use the following terminal command

compass compile -e production --force

reference: http://compass-style.org/help/tutorials/production-css/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜