获取错误:在赋值语句中的$ selector之后预期':'
@mixin clip-path ($selector, $color)
@supports (display: flex)
$selector
background: $color
display: flex
答案 0 :(得分:1)
无需使用$selector
,只需:
@mixin clip-path ($color)
@supports (display: flex)
background: $color
display: flex