2017-02-01 3 views

答えて

1

http://sass-lang.com/guide#topic-6

これは、同じコードがSASSにどのように見えるかです:、

@mixin discount-title() { 
    text-transform: uppercase; 
    font-weight: 600; 
    line-height: 14px; 
    margin-bottom: 10px; 
} 

.discount { 
    @include discount-title(); 
} 
+1

あなたは()を必要としない以外ミックスイン割引タイトル{もの} @であること、 .discount {@は割引のタイトルを含む; } –

+0

うん、それは正しい!あなたが何かを持っているなら、大括弧は変数のためのものです:P – dommmm

関連する問題