@if SASS condition if background color using match --variable

前端 未结 0 1079
无人及你
无人及你 2020-12-30 22:39

i tried to make a condition on my component with sass @if and @else which is if background == var(--bg-danger) color return is white like this, but it just read

相关标签:
回答
  • 消灭零回复
提交回复
热议问题