preprocessor - How can I use sass maps with SASS syntax (not SCSS)? -
when trying use code
$column-width: ( first: 210px second: 200px third: 100px ) @each $column, $width in $column-width .col-#{$column} width: $width i have got error
message: _sass\grid.sass error: unclosed parenthesis on line 1 of _sass/grid.sass >> $column-width: ( { ---------------^ how can fix it?
sass doesn't support multiline syntax maps.
the solution @ present moment
$column-width: (first: 210px, second: 200px, third: 100px)
Comments
Post a Comment