在运行grunt命令时,出现此错误。 运行“ compass:dist”(罗盘)任务 目录.tmp / styles / 错误 app / styles / all.scss(app / styles / partials / sample.scss的第121行:期望数字。得到:calc(6%+ 6px))
.status-alert-high {
background: linear-gradient(to right, red 0%, red 6%, #ffffff 6%, #ffffff calc( 6% + 6px ), red calc( 6% + 6px ), red calc( 12% + 6px ), #ffffff calc( 6% + 6px ), #ffffff calc( 12% + 12px ), red calc( 12% + 12px ), red 100%);
}
.status-alert-medium {
background: linear-gradient(to right, #F6C911 0%, #F6C911 6%, #ffffff 6%, #ffffff calc(6% + 6px), #F6C911 calc( 6% + 6px ), #F6C911 100%);
}