当我尝试使用这段代码时
$column-width: (
first: 210px
second: 200px
third: 100px
)
@each $column, $width in $column-width
.col-#{$column}
width: $width我有一个错误
Message:
_sass\grid.sass
Error: unclosed parenthesis
on line 1 of _sass/grid.sass
>> $column-width: ( {
---------------^我怎么才能修复它?
发布于 2017-08-22 00:50:05
SASS不支持映射的多行语法。
目前的解决方案
$column-width: (first: 210px, second: 200px, third: 100px)https://stackoverflow.com/questions/45793770
复制相似问题