1px, $color: #000 値 */ @mixin text-border($width: 1px, $color:#000){ text-shadow: 0 $width 0 $color, $width 0 0 $color, 0 (-$width) 0 $color, (-$width) 0 0 $color, (-$width) (-$width) 0 $color, $width (-$width) 0 $color, (-$width) $width 0 $color, $width $width 0 $color; } h1{ @include text-border(2px, #fff); /* 周辺2 白 縁取 */ }