如何将sass映射与sass语法(而不是SCSS)结合使用?
当我尝试使用此代码时如何将sass映射与sass语法(而不是SCSS)结合使用?,sass,preprocessor,scss-lint,Sass,Preprocessor,Scss Lint,当我尝试使用此代码时 $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
$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: ( {
---------------^
如何修复它?SASS不支持地图的多行语法 目前的解决办法
$column-width: (first: 210px, second: 200px, third: 100px)
可能重复的