【问题标题】:singularity background-grid not showing奇点背景网格未显示
【发布时间】:2014-04-19 19:40:15
【问题描述】:

我花了很长时间才让奇点工作,而把我所有的宝石都设置好是一场噩梦 - 老实说,我讨厌每一分钟,我知道我仍然没有设置好 - 我只是在等待为了打破一些东西。

无论如何我的问题是我到底要如何让背景网格显示出来?

这是我的粗话

////////////////////////////////
/// SET UP SINGULARTITY GRID ///
///////////////////////////////
@include add-grid(12)
@include add-gutter(1/3)
@include add-gutter-style("split")
@include sgs-change("debug",true)
$bg-color: #fff

.container
  //@include background-grid
  margin: 0 auto
  min-height: 100% 

div
  height: 100%

body

  height: 100%
  margin: 0
  padding: 0
  background: $bg-color

当我取消注释背景网格时,它会中断,我会在输出中得到它

>>> Compass is watching for changes. Press Ctrl-C to Stop.
     info sass/app.sass was modified 
    error sass/app.sass (Line 172 of _background-grid.scss: Function column-count finished without @return)
identical css/app.css 
     info sass/app.sass was modified 
overwrite css/app.css 
     info sass/app.sass was modified 
    error sass/app.sass (Line 26 of _images.scss: wrong number of arguments (25 for 1..2) for `_linear-gradient')
overwrite css/app.css 

请帮忙,这样我就可以开始开发我上周开始的网站了!

谢谢

【问题讨论】:

    标签: sass bundler compass-sass singularitygs


    【解决方案1】:

    我很久以前写了一个解释。您应该能够在singularitygs 标签中找到它。我已切换回 susy 2,因为它运行良好且文档非常好。 Singularitygs 非常好,但文档不达标。如果您深入研究singularitygs gem 的子目录(无论哪个版本),您会发现很多有用的示例。顺便说一句,我相信由于去年的一些合作,susy 2 和singularitygs 1.2.0 现在看起来很相似。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多