Reputation: 79
Get error: expected ':' after $selector in assignment statement
@mixin clip-path ($selector, $color)
@supports (display: flex)
$selector
background: $color
display: flex
Upvotes: 1
Views: 357
Reputation: 2385
No need use $selector
, just:
@mixin clip-path ($color)
@supports (display: flex)
background: $color
display: flex
Upvotes: 1