2016-01-13 65 views
0

我很努力地理解这个混合如何工作。该文档提供的例子是...如何使用网格行混合

@include grid-row($columns, $behavior, $width, $cf, $gutter) { */ what goes here???*/ } 

这是我在我的SCSS ...

.custom_row {@include grid-row(20, nest, 1000, true, 15);} 

我想要做的就是有20列,而不是一行的默认值12.

SCSS似乎很好的编译,但是mixin没有向CSS输出任何东西。

回答

0

想通了。如果Zurb的文档能够给出一个关于如何使用这些文档的实例,那将是非常好的。

下面是我工作......

.custom_row {@include grid-row(20, 'nest', 1000, true, 15) { 
    .custom_column {@include grid-column(4,10);} 
}