선택적 인수로 Sass 믹스 인 만들기
나는 다음과 같이 mixin을 작성하고 있습니다. @mixin box-shadow($top, $left, $blur, $color, $inset:"") { -webkit-box-shadow: $top $left $blur $color $inset; -moz-box-shadow: $top $left $blur $color $inset; box-shadow: $top $left $blur $color $inset; } 내가 실제로 원하는 것은 $inset값이 전달 되지 않으면 다음과 같이 컴파일하는 것보다 아무것도 출력되지 않는다는 것입니다. -webkit-box-shadow: 2px …