【问题标题】:Can you create two versions of a stylesheet (minified and unminified) using Sass and Compass?您可以使用 Sass 和 Compass 创建两个版本的样式表(缩小版和未缩小版)吗?
【发布时间】:2015-06-20 11:34:48
【问题描述】:

我使用 Sass 和 Compass 创建主题的样式表。在 config.rb 文件中,您可以将其设置为编译 style.css 的扩展(正常)或缩小版本。

是否可以设置 config.rb 来创建两者,所以你最终会得到 style-min.css 和 style.css?

【问题讨论】:

标签: css ruby-on-rails sass compass-sass


【解决方案1】:

【讨论】:

  • 审稿人评论:请修改您的答案以提供更多信息/上下文,而不仅仅是指向其他网站的链接。指向其他网站的链接通常会随着时间的推移而失效,并且将来可能对其他人无用。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-04-04
  • 1970-01-01
  • 2020-03-13
  • 2012-06-25
相关资源
最近更新 更多